-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBox.css
More file actions
40 lines (38 loc) · 826 Bytes
/
Copy pathBox.css
File metadata and controls
40 lines (38 loc) · 826 Bytes
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
body{
margin: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-color: #1b1b1b;
}
.box{
width: 120px;
height: 120px;
background-color: #38bdf8;
border-radius: 30%;
animation: rotate 4s infinite ease-in-out;
box-shadow: 0 0 40px #38bdf8;
}
@keyframes rotate{
0%{
transform: rotate(0deg) scale(1);
border-radius: 30%;
}
25%{
transform: rotate(90deg) scale(1.2);
border-radius: 50%;
}
50%{
transform: rotate(180deg) scale(0.9);
border-radius: 50%;
}
75%{
transform: rotate(270deg) scale(1.1);
border-radius: 30%;
}
100%{
transform: rotate(360deg) scale(1);
border-radius: 30%;
}
}