forked from GeekNerds/Hacktoberfest-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathShort_Profile.html
More file actions
96 lines (93 loc) · 2.3 KB
/
Short_Profile.html
File metadata and controls
96 lines (93 loc) · 2.3 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!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/564x/31/44/7e/31447e25b7bc3429f83520350ed13c15.jpg" alt="profile">
</div>
<div class="text">
<p class="name">Your Name</p>
<p>Software Enginner || Tech Enthusiast</p>
</div>
</div>
<style>
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(45deg, white, gray, black, rgb(152, 58, 58), blue, yellow);
animation:bgAnimate 15s ease infinite ;
background-size: 400% 400%;
}
@keyframes bgAnimate {
0% {
background-position: 0% 50%;
}
25% {
background-position: 50% 100%;
}
75% {
background-position: 100% 50%;
}
100%{
background-position: 50% 0%;
}
}
img{
width: 150px;
height: 150px;
border-radius: 50%;
}
.img-container{
height: 200px;
width: 200px;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
/* box-shadow: 5px 10px 18px #888888; */
box-shadow: 5px 10px 18px #57cc99;
}
.main{
width: 500px;
height: 500px;
background-image: url('https://media.istockphoto.com/photos/abstract-futuristic-background-with-a-pedestal-picture-id1311473275?b=1&k=20&m=1311473275&s=170667a&w=0&h=TQrpH65THptzwZHrMLx6Z5ItaG3aG2rCIYNt8l59NQk=');
border-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
gap: 70px;
flex-direction: column;
box-shadow: 5px 10px 18px #ccc7c7;
}
.text{
width: 400px;
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;
margin-bottom: 20px;
font-size: 20px;
}
</style>
</body>
</html>