-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (84 loc) · 1.99 KB
/
style.css
File metadata and controls
93 lines (84 loc) · 1.99 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #222;
}
body::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(#08ff12, #0791ff);
z-index: 10;
pointer-events: none;
mix-blend-mode: multiply;
}
.circle {
position: relative;
width: 500px;
height: 500px;
display: flex;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0.05);
border-radius: 50%;
box-shadow: 0 0 0 2px #fff5,
0 0 0 20px #333,
0 0 0 22px #fff,
0 0 50px #fff,
0 0 450px #fff;
}
.circle::before {
content: "";
position: absolute;
width: 2px;
height: 170px;
border-radius: 2px;
background: linear-gradient(0deg, transparent, #fff);
transform-origin: bottom;
animation: animateNiddles 20s steps(60) infinite;
}
.circle::after {
content: "";
position: absolute;
width: 4px;
height: 130px;
border-radius: 2px;
background: linear-gradient(0deg, transparent, #fff);
transform-origin: bottom;
animation: animateNiddles 120s steps(60) infinite;
}
@keyframes animateNiddles {
0% {
transform: translate(-50%, -50%) rotate(0deg);
}
100% {
transform: translate(-50%, -50%) rotate(360deg);
}
}
ul li {
position: absolute;
top: 10px;
list-style: none;
transform-origin: 0 240px;
transform: rotate(calc(21deg * var(--i)));
font-size: 2.5em;
font-weight: bold;
text-transform: uppercase;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
ul li span {
display: inline-block;
color: #fff;
transform: rotate(calc(-21deg * var(--i)));
text-shadow: 0 0 15px #fff,
0 0 35px #fff,
0 0 75px #fff,
0 0 150px #ffff;
}