-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrobotstyle.css
More file actions
144 lines (124 loc) · 2.42 KB
/
robotstyle.css
File metadata and controls
144 lines (124 loc) · 2.42 KB
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
body{
background-image: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0)),url("https://appradar.com/wp-content/uploads/app-icon-redesign-google-play.png");
background-position: center;
background-size: cover;
background-attachment: fixed;
}
h1{
text-align:center;
font-weight: 120px;
margin: 10px;
font-family: 'Rock Salt', cursive;
letter-spacing: 5px;
}
.flex-container {
display:flex;
justify-content:center;
flex-wrap:wrap;
}
.block{
display:block;
}
.head,
.left_arm,
.torso
.right_arm,
.left_leg,
.right_leg{
background-color: blue;
}
.head{
margin:0px auto;
height:150px;
width: 200px;
border-radius:200px 200px 0 0;
margin-bottom: 10px;
animation: examplehead 1s linear 0s infinite alternate;
}
@keyframes examplehead{
from{width:200px;}
to{width:250px;}
}
.eyes{
display:flex;}
.left_eye{
background-color: white;
border-radius:15px;
height:20px;
width:20px;
position:relative;
top:100px;
left:40px;
}
.right_eye{
background-color: white;
border-radius:15px;
height:20px;
width:20px;
position:relative;
top:100px;
left:120px;
}
.upper_body {
width: 300px;
height: 150px;
display: flex;
}
.left_arm, .right_arm {
width: 40px;
height: 125px;
border-radius: 100px;
}
.left_arm {
margin-right: 10px;
transform:translate(0px,0px);
animation: examplearm 1s linear 0s infinite alternate;
}
@keyframes examplearm{
from{transform:translate(0px,0px);
}
to{transform:translate(0px,-20px);}
}
.right_arm {
margin-left: 10px;
background-color: blue;
animation: examplerarm 1s linear 0s infinite alternate;
}
@keyframes examplerarm{
from{transform:translate(0px,-20px);
}
to{transform:translate(0px,0px);}
}
.torso {
width: 200px;
height: 200px;
border-radius: 0 0 50px 50px;
background-color: blue;
}
.lower_body{
display:flex;
}
.left_leg, .right_leg{
width: 40px;
height: 120px;
border-radius:100px;
}
.left_leg{
margin-left:90px;
transform:rotate(0deg);
animation: example 1s linear 0s infinite alternate;
}
.right_leg{
margin-left:40px;
animation: example1 1s linear 0s infinite alternate;
}
@keyframes example{
from{transform:rotate(30deg);}
to{transform:rotate(-30deg);}
}
@keyframes example1{
0%{transform:rotate(0deg);}
33%{transform:rotate(30deg);}
66%{transform:rotate(-30deg);}
100%{transform:rotate(0deg);}
}