-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
80 lines (69 loc) · 1.4 KB
/
styles.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
body{
background: rgb(236, 229, 231);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
font-family: "Poppins", sans-serif;
}
.head{
border-radius: 70px 70px 50px 50px;
background: #1d1d1d;
border: white 2px solid;
width: 200px;
height: 180px;
display: flex;
justify-content: center;
align-items: center;
}
.helmet{
padding: 15px;
border-radius: 90px 90px 70px 70px;
background: rgb(186, 195, 245);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.eyes{
gap: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.eye{
width: 40px;
height: 60px;
background: white;
border-radius: 50%;
position: relative;
border: none;
animation: move 6s infinite;
}
@keyframes move{
0%{
height: 60px;
transform: translate(0, 0);
}
10%{
height: 2px;
transform: translate(0, 10px);
}
20%{
height: 60px;
transform: translate(0, 0);
}
35%{
height: 2px;
transform: translate(0, 10px);
}
40%{
height: 60px;
transform: translate(0, 0);
}
60%{
height: 30px;
transform: translate(20px, 0);
}
100%{
height: 50px;
transform: translate(0, 0);
}
}