-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (90 loc) · 1.26 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
div {
margin: 0;
padding: 0;
}
div div {
background: #a4ca39;
position: relative;
}
.android {
height: 404px;
width: 334px;
margin: 100px auto;
}
.head {
height: 100px;
width: 220px;
border-radius: 110px 110px 0 0;
top: 32px;
transition: all 0.1s ease-in;
}
.l-eye, .r-eye {
position: absolute;
top: 42px;
background: #ffffff;
height: 20px;
width: 20px;
border-radius: 10px;
}
.l-eye {
left: 50px;
}
.r-eye {
right: 50px;
}
.l-ant, .r-ant {
height: 50px;
width: 6px;
position: absolute;
top: -34px;
border-radius: 3px;
}
.l-ant {
left: 50px;
transform: rotate(-30deg);
}
.r-ant {
right: 50px;
transform: rotate(30deg);
}
.body {
height: 184px;
width: 220px;
top: 40px;
border-radius: 0 0 25px 25px;
}
.l-arm, .r-arm, .l-leg, .r-leg {
width: 50px;
position: absolute;
transition: all 0.1s ease-in;
}
.l-arm, .r-arm {
height: 150px;
border-radius: 25px;
}
.l-leg, .r-leg {
height: 80px;
top: 182px;
border-radius: 0 0 25px 25px;
}
.l-arm {
left: -58px;
}
.r-arm {
right: -58px;
}
.l-leg {
left: 45px;
}
.r-leg {
right: 45px;
}
.head:hover {
transform: rotate(-5deg) translate(-4px, -8px);
}
.l-arm:hover {
transform: rotate(15deg) translate(-14px, 0);
}
.r-arm:hover {
transform: rotate(-130deg) translate(35px, 80px);
}