-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
105 lines (94 loc) · 1.46 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
body {
background-color: skyblue;
}
h1 {
text-align: center;
font-family: 'Roboto', sans-serif;
}
.robot {
flex-wrap: wrap;
display: flex;
justify-content: center;
}
.head,
.left-arm,
.chest,
.right-arm,
.left-leg,
.right-leg {
background-color: #422614;
}
.head {
width: 250px;
margin: 100px auto;
height: 150px;
border-radius: 200px 200px 0 0;
margin-bottom: 10px;
}
.head:hover {
width: 315px;
transition: 1s ease;
}
.eyes {
display: flex;
}
.left-eyes, .right-eyes {
width: 20px;
height: 20px;
background-color: white;
border-radius: 10px;
}
.left-eyes {
position: relative;
top: 100px;
left: 70px;
}
.right-eyes {
position: relative;
top: 100px;
left: 130px;
}
.upperbodypart {
width: 350px;
height: 200px;
display: flex;
}
.left-arm {
width: 50px;
height: 135px;
border-radius: 100px;
margin-right: 10px;
}
.chest {
width: 300px;
height: 250px;
border-radius: 0 0 50px 50px;
}
.right-arm {
width: 50px;
height: 135px;
border-radius: 100px;
margin-left: 10px;
}
.lowerbodypart {
width: 200px;
height: 200px;
margin: 0px auto;
display: flex;
}
.left-leg {
width: 50px;
height: 135px;
border-radius: 0 0 100px 100px;
margin-top: 60px;
margin-left: 35px;
}
.right-leg {
width: 50px;
height: 135px;
border-radius: 0 0 100px 100px;
margin-left: 35px;
margin-top: 60px;
}
.left-leg:hover {
transform: rotate(20deg);