-
Notifications
You must be signed in to change notification settings - Fork 0
/
preloader.html
56 lines (52 loc) · 1.55 KB
/
preloader.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
<html>
<head>
<style>
.prnt {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.preload {
border: 10px dashed lightgray;
border-radius: 50%;
border-bottom: 10px dashed black;
border-top: 10px dashed black;
animation: spin 2s cubic-bezier(0.6, -0.6, 0.8, 0.045) infinite;
height: 100px;
width: 100px;
}
.preload2 {
border: 10px solid rgb(236, 45, 45);
border-radius: 50%;
border-bottom: 10px solid rgb(33, 238, 142);
border-top: 10px solid rgb(33, 238, 142);
animation: spin 2s linear infinite;
height: 100px;
width: 100px;
}
.preload3 {
border-radius: 50%;
border-right: 10px dotted black;
border-top: 10px dotted black;
animation: spin 2s ease-out infinite;
height: 100px;
width: 100px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
<title>
preloader
</title>
</head>
<body>
<div class="prnt">
<div class="preload"></div>
<div class="preload2"></div>
<div class="preload3"></div>
</div>
</body>
</html>