-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhappy.css
More file actions
55 lines (46 loc) · 866 Bytes
/
happy.css
File metadata and controls
55 lines (46 loc) · 866 Bytes
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
@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,300,600,700,800);
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
font-size: 100%;
background: #fff;
text-align: center;
}
h1 {
margin: 0;
padding: 0;
font-family: 'Raleway';
font-weight: 400;
font-size: 3em;
color: #9A12B3;
}
.letterDrop {
position: relative;
top: 0;
display: inline-block;
text-transform: uppercase;
letter-spacing: 0.5em;
opacity: 0.8;
transform: rotateX(-90deg);
animation: letterDrop 1.2s ease 1 normal forwards;
}
@keyframes letterDrop {
10% {
opacity: 0.5;
}
20% {
opacity: 0.8;
top: 3.75em;
transform: rotateX(-360deg);
}
100% {
opacity: 1;
top: 4.50em;
transform: rotateX(360deg);
}
}
span:nth-child(2n) {
color: #663399;
}