-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
93 lines (86 loc) · 1.39 KB
/
index.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
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
@import url("https://fonts.googleapis.com/css?family=Montserrat:700");
* {
margin: 0;
padding: 0;
}
body {
background-color: dimgray;
min-height: 100vh;
}
#fly-in {
color: aliceblue;
text-align: center;
width: 100vw;
font-weight: 700;
font-family: "Montserrat", sans-serif;
font-size: 5rem;
margin: 40vh auto;
height: 20vh;
overflow: hidden;
text-transform: uppercase;
}
#fly-in span {
display: block;
font-size: 0.4em;
opacity: 0.8;
}
#fly-in div {
position: fixed;
margin: 2vh 0;
opacity: 0;
left: 10vw;
width: 80vw;
animation: switch 36s linear infinite;
}
#fly-in div:nth-child(2) {
animation-delay: 4s;
}
#fly-in div:nth-child(3) {
animation-delay: 8s;
}
#fly-in div:nth-child(4) {
animation-delay: 12s;
}
#fly-in div:nth-child(5) {
animation-delay: 16s;
}
#fly-in div:nth-child(6) {
animation-delay: 20s;
}
#fly-in div:nth-child(7) {
animation-delay: 24s;
}
#fly-in div:nth-child(8) {
animation-delay: 28s;
}
#fly-in div:nth-child(9) {
animation-delay: 32s;
}
@keyframes switch {
0% {
opacity: 0;
filter: blur(20px);
transform: scale(12);
}
3% {
opacity: 1;
filter: blur(0);
transform: scale(1);
}
10% {
opacity: 1;
filter: blur(0);
transform: scale(0.9);
}
13% {
opacity: 0;
filter: blur(10px);
transform: scale(0.1);
}
80% {
opacity: 0;
}
100% {
opacity: 0;
}
}