-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
77 lines (70 loc) · 1.4 KB
/
index.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
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
.heading{
text-align: center;
margin-top:30px;
text-shadow: 2px 2px red;
animation-name:entry;
animation-duration: 2s;
animation-iteration-count: infinite;
}
@keyframes entry {
100%{
transform: scale(2.5,2.5);
}
}
.outer-circle{
width:300px;
height:300px;
border:2px solid black;
margin:auto;
margin-top: 30%;
background-color: rgb(162, 186, 186);
border-radius: 100%;
animation: outer;
animation-duration: 6s;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-direction:reverse;
}
.outer-circle:hover{
animation-play-state: paused;
}
@keyframes outer{
100%{
transform: rotate(360deg);
}
}
.inner-circle{
width:30px;
height:30px;
background-color: rgb(193, 57, 34);
margin:auto;
border-radius: 50%;
} */
.jumping{
width:50px;
height:50px;
background-color: tomato;
border-radius: 50%;
animation:jump;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-fill-mode: both;
}
@keyframes jump {
0%{
transform: translate(50px,0px);
}
25%{
transform: translate(100px,100px);
}
50%{
transform: translate(350px,0px);
}
75%{
transform: translate(500px,150px);
}
100%{
transform: translate(600px,0px);
}
}