-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.css
More file actions
44 lines (41 loc) · 745 Bytes
/
Copy pathtest.css
File metadata and controls
44 lines (41 loc) · 745 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
41
42
43
44
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,body{
height: 100%;
width: 100%;
}
body{
padding: 100px;
}
#hero1{
height: 30vw;
width: 30vw;
border-radius: 50%;
filter: blur(20px);
position: absolute;
background-color: orangered;
}
#hero2{
height: 30vw;
width: 30vw;
border-radius: 50%;
filter: blur(20px);
position: absolute;
background-color: orangered;
animation-name: anime;
animation-duration: 3s;
animation-timing-function: linear ;
animation-iteration-count: infinite;
animation-direction: alternate;
}
@keyframes anime {
from{
transform: translate(-10%,-10%);
}
to{
transform: translate(10%,10%);
}
}