-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprestyle.css
107 lines (92 loc) · 1.65 KB
/
prestyle.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
/*
Image URL : https://images.unsplash.com/photo-1480497490787-505ec076689f?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=749&q=80
*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: "Poppins", sans-serif;
}
.preloader {
position: fixed;
width: 100%;
height: 100vh;
top: 0;
left: 0;
background-color: #353535;
overflow: hidden;
z-index: 1000;
transition: opacity 0.5s 0.4s;
}
.preloader.preload-finish {
opacity: 0;
pointer-events: none;
}
.outer-space {
width: 600px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
}
.rocket-container {
position: absolute;
bottom: 52%;
left: 49%;
transform: translate(-50%, 50%);
}
.rocket {
height: 320px;
animation: move 0.2s linear infinite alternate;
}
.preloader.preload-finish .rocket-container {
animation: finish 0.5s 1 ease forwards;
}
@keyframes finish {
from {
bottom: 52%;
}
to {
bottom: 140%;
}
}
@keyframes move {
from {
transform: translateX(-5px);
}
to {
transform: translateX(5px);
}
}
.title {
color: #fff;
letter-spacing: 1px;
font-weight: 600;
font-size: 1.5rem;
position: absolute;
top: 80%;
left: 50%;
transform: translateX(-50%);
}
#circle {
animation: move-circle 0.2s linear infinite alternate;
}
@keyframes move-circle {
from {
transform: translateY(-5px);
}
to {
transform: translateY(5px);
}
}
@keyframes stars {
from {
transform: translateY(-1000px);
}
to {
transform: translateY(1000px);
}
}