-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask1.css
More file actions
82 lines (81 loc) · 1.75 KB
/
task1.css
File metadata and controls
82 lines (81 loc) · 1.75 KB
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
body{
background-color: aqua;
}
.container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.container.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 {
position: absolute;
display: block;
height: 64px;
width: 64px;
background: purple;
border: 1px solid purple;
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);
}
}
.shadow{
position: relative;
top: 30px;
left: 50%;
transform: translateX(-50%);
display: block;
height: 16px;
width: 64px;
border-radius: 50%;
background-color: #e4e3e3;
border: 1px solid purple;
animation: shadow 2.3s cubic-bezier(0.75, 0, 0.5, 1) infinite;
}
@keyframes shadow{
50%{
transform: translateX(-50%) scale(0.5);
border-color: purple;
}
}