-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathintro.css
More file actions
71 lines (66 loc) · 1.07 KB
/
intro.css
File metadata and controls
71 lines (66 loc) · 1.07 KB
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
@keyframes fadeOut {
0% {
opacity: 1;
}
70% {
opacity: 0;
}
100% {
opacity: 0;
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
20% {
opacity: 0;
}
100% {
opacity: 1;
}
}
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
.background {
position: relative;
text-align: center;
background-image: url(http://37.media.tumblr.com/tumblr_mbha9qWF401qcixnko4_500.gif);
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
height: 100%;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: black;
opacity: 0;
animation: fadeOut 3s ease-in-out forwards;
}
.fade-in {
display: block;
animation: fadeIn 3s ease-in-out forwards;
}
.title {
font-family: "Anton", sans-serif;
font-size: 170px;
color: whitesmoke;
opacity: 0;
animation-name: fadeIn;
animation-duration: 8s;
animation-timing-function: ease-in-out;
animation-fill-mode: forwards;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
}