-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathstyle.css
63 lines (59 loc) · 1.84 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
51
52
53
54
55
56
57
58
59
60
61
62
63
html, body {
width: 100%;
height: 100%;
background-color: #FF00FF;
overflow: hidden;
-webkit-font-smoothing: antialiased;
display: flex;
justify-content: center;
align-items: center;
}
h1 span {
position: relative;
display: inline-block;
animation: bounce .3s ease infinite alternate;
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 5em;
color: #00FF00;
text-shadow: 0 1px 0 #CCC,
0 2px 0 #CCC,
0 3px 0 #CCC,
0 4px 0 #CCC,
0 5px 0 #CCC,
0 6px 0 transparent,
0 7px 0 transparent,
0 8px 0 transparent,
0 9px 0 transparent,
0 10px 10px rgba(0, 0, 0, .4);
}
h1 span:nth-child(2) { animation-delay: .1s; }
h1 span:nth-child(3) { animation-delay: .2s; }
h1 span:nth-child(4) { animation-delay: .3s; }
h1 span:nth-child(5) { animation-delay: .4s; }
h1 span:nth-child(6) { animation-delay: .5s; }
h1 span:nth-child(7) { animation-delay: .6s; }
h1 span:nth-child(8) { animation-delay: .7s; }
h1 span:nth-child(9) { animation-delay: .8s; }
h1 span:nth-child(10) { animation-delay: .9s; }
h1 span:nth-child(11) { animation-delay: .10s; }
h1 span:nth-child(12) { animation-delay: .11s; }
h1 span:nth-child(13) { animation-delay: .12s; }
h1 span:nth-child(14) { animation-delay: .13s; }
h1 span:nth-child(15) { animation-delay: .14s; }
h1 span:nth-child(16) { animation-delay: .15s; }
h1 span:nth-child(17) { animation-delay: .16s; }
@keyframes bounce {
100% {
top: -20px;
text-shadow: 0 1px 0 #CCC,
0 2px 0 #CCC,
0 3px 0 #CCC,
0 4px 0 #CCC,
0 5px 0 #CCC,
0 6px 0 #CCC,
0 7px 0 #CCC,
0 8px 0 #CCC,
0 9px 0 #CCC,
0 50px 25px rgba(0, 0, 0, .2);
}
}