-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
136 lines (120 loc) · 3.37 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<!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>cs_anim01_</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: rgb(5, 8, 16);
}
.box {
position: relative;
width: 400px;
height: 400px;
background: rgba(0, 0, 0, 0.6);
border-radius: 50%;
overflow: hidden;
}
.box::before {
content: '';
position: absolute;
inset: -10px 140px;
background: linear-gradient(315deg, rgb(249, 245, 4), rgb(135, 8, 247));
transition: 0.5s;
animation: animate 4s linear infinite;
}
.box:hover::before {
inset: -20px 0px;
}
@keyframes animate {
0% {
transform: rotate(0deg);
}
0% {
transform: rotate(360deg);
}
}
.box::after {
content: '';
position: absolute;
inset: 6px;
background: rgb(5, 8, 16);
border-radius: 50%;
z-index: 1;
}
.content {
position: absolute;
inset: 30px;
border: 6px solid black;
z-index: 3;
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.content img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* object-fit:cover; */
transition: 0.5s;
pointer-events: none;
z-index: 3;
}
.box:hover .content img {
opacity: 0;
}
.content h2{
position: relative;
font-size: 1.5em;
text-align: center;
color: aliceblue;
font-weight: 600;
letter-spacing: 0.05em;
text-transform:none;
}
.content p{
position: relative;
margin-top: 24px;
padding: 10px 20px;
background: linear-gradient(315deg, rgb(25, 255, 209), rgb(244, 248, 41));
color:black;
border-radius: 25px;
font-weight: 500;
font-size: 1.25em;
text-transform:none;
letter-spacing: 0.05em;
text-decoration: none;
transition: 0.5s;
}
.content a:hover{
letter-spacing: 0.2em;
}
</style>
</head>
<body>
<div class="box">
<div class="content">
<img src="Web capture_6-5-2022_3137_.jpeg" alt="">
<h2>/----( Dr. strange )----/</h2>
<p>Multiverse of Madness</p>
</div>
</div>
</body>
</html>