-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
54 lines (45 loc) · 1012 Bytes
/
styles.css
File metadata and controls
54 lines (45 loc) · 1012 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
45
46
47
48
49
50
51
52
53
54
/* your beautiful css styling goes here! */
/* Note: an asteroid image is included in this repo.
Feel free to use it if you like. */
div{
color: white;
font-family: "Comic Sans MS", cursive, sans-serif;
}
body{
background-image: url("background.png");
background-size: cover;
background-repeat: no-repeat;
}
@-webkit-keyframes rotateRight {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
}
}
@-webkit-keyframes rotateLeft {
from {
-webkit-transform: rotate(0deg);
}
to {
-webkit-transform: rotate(-360deg);
}
}
.enemy
{
-webkit-animation-duration: 0.5s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: linear;
-webkit-transform-origin-x: initial;
-webkit-transform-origin-y: initial;
-webkit-transform-origin-z: initial;
}
.enemy.left
{
-webkit-animation-name: rotateLeft;
}
.enemy.right
{
-webkit-animation-name: rotateRight;
}