-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
108 lines (90 loc) · 1.81 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
97
98
99
100
101
102
103
104
105
106
107
108
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.splash_wrap {
width: 100%;
height: 500vh;
background: #000;
font-family: "PP Neue Montreal";
}
.lottie-container .animation {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
z-index: -1;
filter: saturate(2);
}
.animation:after {
content: "";
background-image: url("https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Dissolve_Noise_Texture.png");
height: 200%;
width: 200%;
position: fixed;
top: 0;
left: 0;
opacity: 0.1;
animation: animateGrain 8s steps(10) infinite;
}
.gradient {
width: 100vw;
position: relative;
height: 200vh;
background: linear-gradient(180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 1) 100%);
z-index: 1;
}
.website-content {
position: relative;
width: 100%;
height: 300vh;
padding: 2em;
background: #000;
color: #fff;
z-index: 1;
}
.end-lottie {
position: absolute;
top: 100vh;
width: 100%;
height: 1px;
}
@keyframes animateGrain {
0%,
100% {
transform: translate(0, 0);
}
10% {
transform: translate(-5%, -10%);
}
20% {
transform: translate(-15%, -20%);
}
30% {
transform: translate(-5%, -10%);
}
40% {
transform: translate(-15%, -20%);
}
50% {
transform: translate(-5%, -10%);
}
60% {
transform: translate(-15%, -20%);
}
70% {
transform: translate(-5%, -10%);
}
80% {
transform: translate(-15%, -20%);
}
90% {
transform: translate(-5%, -10%);
}
100% {
transform: translate(-15%, -20%);
}
}