/
style.css
74 lines (74 loc) · 1.28 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
body {
background: url(../../common/images/bg.jpg);
overflow: hidden;
}
@-webkit-keyframes balloons {
from {
top: 160px;
left: 80px;
}
to {
top: -900px;
left: 500px;
-webkit-transform: rotate(50deg);
}
}
#balloons {
position: absolute;
top: -900px;
width: 223px;
height: 433px;
background: url(images/balloons.png);
-webkit-animation: balloons 30s;
}
#guy {
position: absolute;
bottom: 20px;
left: 40px;
width: 134px;
height: 364px;
background: url(images/guy-body.png);
z-index: 10;
}
#guy-shadow {
position: absolute;
bottom: -20px;
left: 30px;
width: 78px;
height: 80px;
background: url(images/guy-shadow.png);
}
#guy-head {
position: absolute;
top: -35px;
left: 40px;
width: 41px;
height: 65px;
background: url(images/guy-head.png);
-webkit-transform-origin: 50% 75%;
}
#guy-arm-left {
position: absolute;
top: 65px;
left: 10px;
width: 36px;
height: 133px;
background: url(images/guy-arm-left.png);
}
#guy-arm-right {
position: absolute;
top: 60px;
right: 12px;
width: 32px;
height: 142px;
-webkit-transform: rotate(-3deg);
background: url(images/guy-arm-right.png);
}
#grass {
position: absolute;
bottom: 0;
left: 0;
width: 310px;
height: 231px;
background: url(images/grass.png);
}