-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheater.css
49 lines (45 loc) · 965 Bytes
/
eater.css
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
.eater{
position: relative;
width: 100%;
height: 100%
}
.eater-bottom-holder,.eater-top-holder{
width: 100%;
height: 50%;
overflow: hidden;
}
.eater-top-holder{
transform-origin: bottom left;
animation-name: animated-eater-top;
animation-duration: 0.5s;
animation-iteration-count: infinite;
}
.eater-bottom-holder{
top:50%;
transform-origin: top left;
animation-name: animated-eater-bottom;
animation-duration: 0.5s;
animation-iteration-count: infinite;
}
@keyframes animated-eater-top {
0%{transform: rotate(0deg);}
100%{transform: rotate(-20deg);}
}
@keyframes animated-eater-bottom{
0%{transform: rotate(0deg);}
100%{transform: rotate(10deg);}
}
.eater-top{
width: 100%;
height: 200%;
background: yellow;
border-radius: 50%;
}
.eater-bottom{
position: relative;
width: 100%;
height: 200%;
background:yellow;
border-radius: 50%;
top: -100%;
}