-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanime robot.html
More file actions
131 lines (127 loc) · 3.34 KB
/
anime robot.html
File metadata and controls
131 lines (127 loc) · 3.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color: lightblue;
}
.face{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 150px;
margin: auto;
background-color: black;
height: 40px; width: 65px;
border-radius: 20px 20px 10px 10px;
}
.head{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 150px;
margin: auto;
z-index: -1;
background-color: white;
height: 70px; width: 100px;
border-radius: 60px 60px 10px 10px;
}
.body{
position: absolute;
top: 60px;
left: 0;
right: 0;
bottom: 0;
margin: auto;
background-color: white;
height: 120px; width: 130px;
border-radius: 20px 20px 100px 100px;
}
.left{
position: absolute;
top: 0;
left: 0;
right: 230px;
bottom: 25px;
margin: auto;
background-color: white;
height: 30px; width: 100px;
border-radius: 10px 10px 10px 50px;
animation: hand 1s linear infinite;
}
@keyframes hand{
0%{
transform: translateY(-40px) rotateZ(45deg);
}
50%{
transform: translateY(0) rotateZ(0deg);
}
100%{
transform: translateY(-40px) rotateZ(45deg);
}
}
.right{
position: absolute;
top: 50px;
left: 170px;
right: 0;
bottom: 0;
margin: auto;
background-color: white;
height: 100px; width: 30px;
border-radius: 10px 30px 50px 10px;
transform: rotateY(10deg);
}
.eye1{
position: absolute;
top: 0;
left: 0;
right: 25px;
bottom: 0150px;
margin: auto;
background-color: blue;
height: 8px; width: 10px;
border-radius: 20px 20px 10px 10px;
animation: eye 2s linear infinite;
}
.eye2{
position: absolute;
top: 0;
left: 25px;
right: 0;
bottom: 0150px;
margin: auto;
background-color: blue;
height: 8px; width: 10px;
border-radius: 20px 20px 10px 10px;
animation: eye 2s linear infinite;
}
@keyframes eye{
0%{
background-color: rgb(36, 36, 77);
}
50%{
background-color: black;
}
100%{
background-color: blue;
}
}
</style>
</head>
<body>
<div class="face"></div>
<div class="head"></div>
<div class="body"></div>
<div class="left"></div>
<div class="right"></div>
<div class="eye1"></div>
<div class="eye2"></div>
</body>
</html>