-
Notifications
You must be signed in to change notification settings - Fork 0
/
robot.html
76 lines (75 loc) · 1.46 KB
/
robot.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Robot</title>
<style>
.robot {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
align-items: center;
}
.robot-head {
background-color: red;
width: 100px;
height: 50px;
}
.robot-torso {
display: flex;
flex-direction: row;
}
.robot-arm1 {
background-color: yellow;
width: 50px;
height:20px;
}
.robot-arm2 {
background-color: yellow;
width: 50px;
height:20px;
}
.robot-body {
background-color: green;
width: 100px;
height:200px;
}
.robot-legs{
display: flex;
flex-direction: row;
}
.robot-leg1{
background-color:blueviolet;
width: 35px;
height: 50px;
}
.robot-leg2{
background-color:blueviolet;
width: 35px;
height: 50px;
}
</style>
</head>
<body>
<header>
</header>
<main>
<div class="robot">
<div class="robot-head"></div>
<div class="robot-torso">
<div class="robot-arm1"></div>
<div class="robot-body"></div>
<div class="robot-arm2"></div>
</div>
<div class="robot-legs">
<div class="robot-leg1"></div>
<div class="robot-leg2"></div>
</div>
</div>
</main>
<footer>
</footer>
</body>
</html>