-
Notifications
You must be signed in to change notification settings - Fork 1
/
loader2.html
84 lines (69 loc) · 1.54 KB
/
loader2.html
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
<!DOCTYPE HTML>
<html>
<head>
<title>올라가는 중</title>
<style>
* {
margin: 0;
padding: 0;
}
.preloader {
position: absolute;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color:#ffffff;
}
.circle {
position: absolute;
margin: 0 auto;
width: inherit;
height: inherit;
overflow: hidden;
z-index: 1010;
}
.circle::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 100%;
width: 45vw;
height: 45vw;
box-shadow: 0px 0px 0px 1000px #000000;
}
/* delete 'infinite' at use*/
.chain {
position: absolute;
z-index: 1000;
width: 100vw;
left: 50%;
transform: translateX(-50%);
animation: chain-falling 15s linear infinite;
}
.elevator {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
width: 20vw;
}
/*animations*/
@keyframes chain-falling {
0% { bottom: 0vw; }
100% { bottom: -120vw; }
}
</style>
</head>
<body>
<div class="preloader">
<div class="circle"></div>
<div class="chain__upwards">
<img class="chain chain-1" src="image/loader/wall.png">
</div>
<img class="elevator" src="image/loader/elevator.png">
</div>
</body>
</html>