-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloveit.html
106 lines (96 loc) · 1.76 KB
/
loveit.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.preloader{
animation: rotate 2.3s cubic-bezier(0.75,0,0.5,1) infinite;
}
@keyframes rotate{
50%{
transform:rotate(360deg);
}
100%{
transform:rotate(720deg);
}
}
.preloader span{
height: 64px;
width: 64px;
display:block;
position: absolute;
background:#3fc1f2;
border: 1pz solid #3fc1f2;
border-radius: 100%;
}
.preloader span:nth-child(1){
transform:translate(-28px,-28px);
animation: shape_1 2.3s cubic-bezier(0.75,0,0.5,1) infinite;
}
@keyframes shape_1{
60%{
transform:scale(0.4);
}
}
.preloader span:nth-child(2){
transform:translate(28px,-28px);
animation: shape_2 2.3s cubic-bezier(0.75,0,0.5,1) infinite;
}
@keyframes shape_2{
40%{
transform:scale(0.4);
}
}
.preloader span:nth-child(3){
position: relative;
border-radius: 0px;
transform:scale(0.98) rotate(-45deg);
animation: shape_3 2.3s cubic-bezier(0.75,0,0.5,1) infinite;
}
@keyframes shape_3{
50%{
border-radius: 100%;
transform:scale(0.5) rotate(-45deg);
}
100%{
transform:scale(0.98) rotate(-45deg);
}
}
.container .shadow{
position: relative;
display: block;
height: 16px;
width: 64px;
background: #d9d9d9;
border: 1px solid d9d9d9;
border-radius: 50%;
top: 30px;
animation: shadow 2.3s cubic-bezier(0.75,0,0.5,1) infinite;
}
@keyframes shadow{
50%{
border-color: #f2f2f2;
transform:scale(0.6);
}
}
</style>
</head>
<body>
<div class="container">
<div class="preloader">
<span></span>
<span></span>
<span></span>
</div>
<div class="shadow"></div>
</div>
</body>
</html>