-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
111 lines (93 loc) · 1.75 KB
/
style.css
File metadata and controls
111 lines (93 loc) · 1.75 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
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
body {
font-family: 'Helvetica', sans-serif;
}
* {
margin: 0;
padding: 0;
}
@keyframes titles {
0% {background-color: #fff;}
50% {background-color: #000;}
100% {background-color: #fff;}
}
@keyframes titles-text {
0% {color: #000;}
50% {color: #fff;}
75% {color: #000;}
100% {color: #fff;}
}
@keyframes bild {
0% {opacity: 0;}
50% {opacity: 100;}
100% {opacity: 0;}
}
#bg {
z-index: -1000;
width: 100%;
height: 100vh;
animation-name: titles;
animation-duration: 2s;
animation-delay: 0s;
display: flex;
align-items: center;
justify-content: center;
}
.test {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
}
img {
opacity: 0;
animation-name: bild;
animation-duration: 2s;
animation-delay: 0s;
}
#bild {
z-index: -100;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
width: 100%;
height: 100%;
}
@font-face {
font-family: sans-serif;
}
#title {
color: #fff;
z-index: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: absolute;
width: 100%;
height: 100%;
font-size: 21px;
text-align: center;
animation-name: titles-text;
animation-duration: 3s;
animation-delay: 0s;
/*
opacity: 0;
-webkit-transition: opacity 2s ease;
-moz-transition: opacity 2s ease;
-o-transition: opacity 2s ease;
-ms-transition: opacity 2s ease;
transition: opacity 2s ease;
*/
}
.fadeIn{
-webkit-animation: fade-in 2s ease;
-moz-animation: fade-in ease-in-out 2s both;
-ms-animation: fade-in ease-in-out 2s both;
-o-animation: fade-in ease-in-out 2s both;
animation: fade-in 2s ease;
visibility: visible;
-webkit-backface-visibility: hidden;
}