forked from typesterhelp/typester
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stylesheet for area.css
102 lines (98 loc) · 1.48 KB
/
stylesheet for area.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
97
98
99
100
101
102
body
{
margin: 0;
padding: 0;
}
section
{
height:100vh;
background:#000;
}
section::after
{
content:'';
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(to right,#03e9f4,#03e9f3,#03e9f8);
mix-blend-mode:color;
pointer-events:none;
}
video
{
position:absolute;
top:10%;
left: 0;
width:100%;
height:40%;
-o-object-fit: cover;
object-fit: cover;
-o-object-position: center;
object-position: center;
}
h1
{
margin: 0;
padding: 0;
position:center;
top: 50%
transform:translateY(-50%);
width: 100%
text-align:center;
color: #03e9f4;
font-size: 6.5em;
font-family:sans-serif;
letter-spacing:0.2em;
opacity:1;
}
h1 span
{
opacity:1;
display:inline-block;
animation: animate 1s linear forwards ;
}
@keyframes animate
{
0%
{
opacity:0;
transform: rotateY(90deg);
filter: blur(10px);
}
100%
{
opacity:1;
transform: rotateY(0deg);
filter: blur(0);
}
}
h1 span:nth-child(1)
{
animation-delay: 0.3s;
}
h1 span:nth-child(2)
{
animation-delay: 0.75s;
}h1 span:nth-child(3)
{
animation-delay: 1.25s;
}h1 span:nth-child(4)
{
animation-delay: 1.75s;
}
h1 span:nth-child(5)
{
animation-delay:2.25s;
}
h1 span:nth-child(6)
{
animation-delay:2.75s;
}h1 span:nth-child(7)
{
animation-delay: 3.25s;
}h1 span:nth-child(8)
{
animation-delay:3.75s;
}