forked from GeekNerds/Hacktoberfest-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSimple_Profile_Card.html
More file actions
76 lines (76 loc) · 1.75 KB
/
Simple_Profile_Card.html
File metadata and controls
76 lines (76 loc) · 1.75 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Profile Card</title>
</head>
<body>
<div class="main">
<div class="img-container">
<img src="https://i.pinimg.com/originals/9c/44/5b/9c445b10fe9658a79f31fcdad62b12b8.jpg" alt="profile">
</div>
<div class="text">
<p class="name">Your Name</p>
<p>FrontEnd devlopment || Linux enthusiasm</p>
</div>
</div>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
img{
width: 150px;
height: 150px;
border-radius: 50%;
}
.img-container{
height: 200px;
width: 200px;
background-color: #80ed99;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 5px 10px 18px #57cc99;
}
.main{
width: 500px;
height: 500px;
background-color: #c7f9cc;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
gap: 70px;
flex-direction: column;
box-shadow: 5px 10px 18px #ccc7c7;
}
.text{
width: 450px;
height: 100px;
background-color: #38a3a5;
border-radius: 10px;
color: #ffffff;
font-weight: 500;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 15px;
font-size: 20px;
box-shadow: 5px 10px 18px #57cc99;
}
</style>
</body>
</html>