-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
38 lines (33 loc) · 915 Bytes
/
index.css
File metadata and controls
38 lines (33 loc) · 915 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
@keyframes example {
0% {left:0px; top:0px;}
25% {left:200px; top:0px; transform: rotate(90deg);}
50% {left:200px; top:200px; transform: rotate(180deg);}
75% {left:0px; top:200px; transform: rotate(270deg);}
100% {left:0px; top:0px; transform: rotate(360deg);}
}
@keyframes color_change {
0% {color: red;}
10% {color: blue;}
20% {color: orange;}
30% {color: yellow;}
40% {color: green;}
50% {color: purple;}
60% {color: pink;}
70% {color: skyblue;}
80% {color: blueviolet;}
90% {color: greenyellow;}
100% {color: brown;}
}
#the_cat {
position: relative;
animation-name: example;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
#welcome {
animation-name: color_change;
animation-duration: 1s;
animation-iteration-count: infinite;
font-size: large;
}