-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
96 lines (87 loc) · 1.32 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
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
94
95
96
@import url("https://fonts.googleapis.com/css?family=Roboto:300");
body {
text-align: center;
background: linear-gradient(141deg, #ccc 25%, #eee 40%, #ddd 55%);
color: #555;
font-family: "Roboto";
font-weight: 300;
font-size: 32px;
padding-top: 40vh;
height: 100vh;
overflow: hidden;
-webkit-backface-visibility: hidden;
-webkit-perspective: 1000;
-webkit-transform: translate3d(0, 0, 0);
}
div {
display: inline-block;
overflow: hidden;
white-space: nowrap;
}
div:first-of-type {
animation: showup 7s infinite;
}
div:last-of-type {
width: 0px;
animation: reveal 7s infinite;
}
div:last-of-type span {
margin-left: -255px;
animation: slidein 7s infinite;
background-color: rgb(124, 124, 124);
color: #555;
padding: 20px;
}
@keyframes showup {
0% {
opacity: 0;
}
20% {
opacity: 1;
}
80% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes slidein {
0% {
margin-left: -200px;
}
20% {
margin-left: -200px;
}
35% {
margin-left: 0px;
}
100% {
margin-left: 0px;
}
}
@keyframes reveal {
0% {
opacity: 0;
width: 0px;
}
20% {
opacity: 1;
width: 0px;
}
30% {
width: 160px;
}
80% {
opacity: 1;
}
100% {
opacity: 0;
width: 160px;
}
}
p {
font-size: 12px;
color: #999;
margin-top: 200px;
}