-
Notifications
You must be signed in to change notification settings - Fork 0
/
tiktok.css
48 lines (40 loc) · 984 Bytes
/
tiktok.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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
:root{
--positive: 3px;
--negative: calc(-1 * (var(--positive)));
}
body{
display: flex;
justify-content: center;
align-items: center;
background: #000;
}
h1{
margin: auto;
color: #fff;
font-size: 300px;
animation: animate 0.5s linear infinite;
}
@keyframes animate{
0%, 100%{
text-shadow: var(--negative) var(--negative) 0 #0ff, var(--positive) var(--positive) 0 #f00;
}
25%{
text-shadow: var(--positive) var(--positive) 0 #0ff, var(--positive) var(--negative) 0 #f00;
}
50%{
text-shadow: var(--positive) var(--negative) 0 #0ff, var(--negative) var(--positive) 0 #f00;
}
75%{
text-shadow: var(--negative) var(--positive) 0 #0ff, var(--positive) var(--negative) 0 #f00;
}
}
@media only screen and (max-width: 400px){
h1{
font-size: 250px;
}
}