-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
50 lines (45 loc) · 1 KB
/
style.css
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
/* ===( CODE AASHU )=== */
body, html{
height: 100%;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
background: #040509;
overflow: hidden;
font-size: 62.5%
}
/* The @property CSS at-rule is part of the CSS Houdini umbrella of APIs. It */
@property --angle {
syntax: '<angle>';
initial-value: 0deg;
inherits: false;
}
.spiral{
display: flex;
align-items: center;
gap: 10px;
position: absolute;
color: #e0ecef;
font-family: "sans-serif";
}
@keyframes spiral{
0%{
--angle: 0deg;
}
100%{
--angle: 360deg;
}
}
.character{
font-size: 2.8rem;
color: white;
text-transform: uppercase;
transform: translateY(calc(sin(var(--angle)) * 100px)) scale(calc(cos(var(--angle)) * 0.5 + 0.5));
animation: spiral 4s linear infinite;
}
@media (max-width: 490px){
.character{
font-size: 2.2rem
}
}