-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile.html
51 lines (46 loc) · 840 Bytes
/
profile.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.card {
box-shadow: 0 0.8vh 0.9vw 0 rgba(0,0,0,0.2);
transition: 0.3s;
width:20%;
border-radius: 0.5vw;
background:#FFB775;
padding: 1.5vw;
}
.card:hover {
box-shadow: 0 0.8vw 1.6vw 0 rgba(0,0,0,0.2);
}
img {
border-radius: 0.5vw 0.5vh 0 0;
}
.container {
padding: 0.2vw 1.6vh;
}
input{
width:90%;
}
textarea{
width:90%;
}
h4{
margin: 0.4vw;
}
</style>
</head>
<body>
<div class="card">
<h2>My Profile</h2>
<img src="https://www.w3schools.com/howto/img_avatar2.png" width="300" alt="Avatar">
<div class="container">
<h4 id="name"><b>Name:</b></h4>
<div><input type="text"><div>
<h4 id="interest">Interests:</h4>
<textarea></textarea>
</div>
</div>
</body>
</html>