-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkendo.css
125 lines (104 loc) · 2.7 KB
/
kendo.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#kendo-animation {
width: 800px;
height: 600px;
margin: 0 auto;
margin-top: 50px;
position: relative;
overflow: hidden;
border:3px solid #000;
background: url('imgs/background.jpg') no-repeat;
background-size: 100% 100%;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}
#left-body {
position: absolute;
left: 60px;
top: 190px;
}
#arm {
position: absolute;
left:-160px;
top:140px;
}
#men {
position: absolute;
left:250px;
top:240px;
}
#right-body {
position: absolute;
right: 60px;
top: 310px;
}
#right-head {
position: absolute;
right: 130px;
top: 190px;
}
author a {
font-family: arial, tahoma, sans-serif;
font-size: 18px;
font-weight: bold;
text-decoration: none;
position: absolute;
color: #FFF;
top: 10px;
left: 20px;
text-shadow:1px 0px 5px #333333;
}
/** Animations ***/
@keyframes arm {
from { transform: rotate(-30deg); }
to { transform: rotate(4deg); }
}
@-webkit-keyframes arm {
from { -webkit-transform: rotate(-30deg); }
to { -webkit-transform: rotate(4.5deg); }
}
@-moz-keyframes arm {
from { -moz-transform: rotate(-30deg); }
to { -moz-transform: rotate(4deg); }
}
/**** Men ****/
@keyframes men {
from { transform: scaleX(0.5) scaleY(0.5); opacity: 0; }
to { transform: scaleX(1) scaleY(1); left:300px; }
}
@-moz-keyframes men {
from { -moz-transform: scaleX(0.5) scaleY(0.5); opacity: 0; }
to { -moz-transform: scaleX(1) scaleY(1); left:300px; }
}
@-webkit-keyframes men {
from { -webkit-transform: scaleX(0.5) scaleY(0.5); opacity: 0; }
to { -webkit-transform: scaleX(1) scaleY(1); left:300px; }
}
/***** right head ***/
@keyframes arm {
from { top:190px; }
to { top:198px; -webkit-transform:rotate(-5deg); }
}
@-webkit-keyframes shock {
from { top:190px; }
to { top:198px; -webkit-transform:rotate(-5deg); }
}
@-moz-keyframes shock {
from { top:190px; }
to { top:198px; -moz-transform:rotate(-5deg); }
}
#arm {
animation: arm 0.5s cubic-bezier(1.000, 0.000, 0.000, 1.000) 0s infinite alternate;
-webkit-animation: arm 0.5s cubic-bezier(1.000, 0.000, 0.000, 1.000) 0s infinite alternate;
-moz-animation: arm 0.5s cubic-bezier(1.000, 0.000, 0.000, 1.000) 0s infinite alternate;
}
#men {
animation: men 0.5s cubic-bezier(1.000, 0.000, 0.000, 2.400) 0s infinite alternate;
-webkit-animation: men 0.5s cubic-bezier(1.000, 0.000, 0.000, 2.400) 0s infinite alternate;
-moz-animation: men 0.5s cubic-bezier(1.000, 0.000, 0.000, 2.400) 0s infinite alternate;
}
#right-head {
animation: shock 0.5s cubic-bezier(1.000, 0.000, 0.000, 1) 0.22s infinite alternate;
-webkit-animation: shock 0.5s cubic-bezier(1.000, 0.000, 0.000, 1) 0.22s infinite alternate;
-moz-animation: shock 0.5s cubic-bezier(1.000, 0.000, 0.000, 1) 0.22s infinite alternate;
}