-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
62 lines (55 loc) · 980 Bytes
/
styles.css
File metadata and controls
62 lines (55 loc) · 980 Bytes
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
body {
margin: 0;
padding: 0;
background: #222f3e;
}
.eyes {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
}
.eye {
width: 120px;
height: 120px;
background: white;
display: inline-block;
margin: 40px;
border-radius: 100%;
position: relative;
overflow: hidden;
cursor: pointer;
}
.ball {
width: 20px;
height: 20px;
background: #252525;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
border-radius: 100%;
border: 20px solid #eb3b5a;
}
/* shut */
.shut {
width: 120px;
height: 120px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1000;
}
.shut span {
display: block;
width: 100%;
height: 0%;
background: #ffbe76;
border-radius: 0 0 60% 60%;
transition: 0.2s all;
}
.eye:hover>.shut span {
height: 100%;
}