-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
74 lines (65 loc) · 1.11 KB
/
style.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
* {
box-sizing: border-box;
}
body {
margin: 10px;
}
.field {
width: 1000px;
height: 700px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
position: relative;
overflow: hidden;
}
.field:before {
content: "";
position: absolute;
top: -55%;
left: -25%;
width: 1500px;
height: 1500px;
z-index: -1;
background: url(img/space3.jpg) center;
background-size: cover;
animation: spin-back 700s linear 0s infinite;
}
.excel {
width: 50px;
height: 50px;
padding: 5px;
}
.snakeBody {
background: url(img/earth3.png) center no-repeat;
background-size: 80%;
border-radius: 40%;
animation: spin-back 0.9s linear 0s infinite;
}
.head {
background: url(img/klaksa2.png);
background-size: cover;
border-radius: 10%;
animation: spin 5s linear 0s infinite;
}
.mouse {
background: url(img/earth.png);
background-size: cover;
animation: spin 20s linear 0s infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@keyframes spin-back {
from {
transform: rotate(360deg);
}
to {
transform: rotate(0deg);
}
}