-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (98 loc) · 1.92 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="style.css" rel="stylesheet">
<title>profile design</title>
<style>
.box{
position:relative;
display:flex;
flex-direction:column;
flex-wrap:wrap;
font-family:"poppins",'sanserif';
}
.bgclr{
position:absolute;
top:96%;
width:100%;
height:120px;
background:#c5e2ff;
}
.prof{
display:flex;
justify-content:space-between;
align-items:center;
position:absolute;
top:59%;
width:100%;
}
.prfimg{
display:flex;
justify-content:center;
align-items:flex-end;
padding:10px;
position: relative;
}
h1{
margin:5px;
}
.pimg{
object-fit:cover;
width:100px;
height:100px;
border-radius:50%;
border:3px solid #ddd;
}
.top img{
width:100%;
height:120px;
object-fit:cover;
}
button{
border:none;
background:#ccdd;
padding:10px 12px;
border:2px solid #fff;
border-radius:10px;
}
.tick{
position:absolute;
top:18px;
left:90px;
}
.epf{
margin-right:40px;
margin-top:40px;
}
@media(max-width:768px){
.prof {
flex-direction:column;
background:#c5e2ff;
}
</style>
</head>
<body>
<div class="box">
<div class="top">
<img src="https://dash-ui-admin-template.vercel.app/images/background/profile-cover.jpg">
</div>
<div class="bgclr"> </div>
<div class="prof">
<div class="prfimg">
<img src="https://assets.codepen.io/301308/internal/avatars/users/default.png" class="pimg">
<img src="https://dash-ui-admin-template.vercel.app/images/svg/checked-mark.svg" class="tick">
<div class="prftxt">
<h1>Codingwithssr</h1>
<span>@codingwithssr</span>
</div>
</div>
<div class="epf">
<button type="">Edit Profile</button>
</div>
</div>
</div>
</body>
</html>