-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
46 lines (46 loc) · 877 Bytes
/
style.css
File metadata and controls
46 lines (46 loc) · 877 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
img{
max-width: 300px;
vertical-align: middle;
}
.container{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.eyes{
position: absolute;
top: 58%;
left: 50%;
transform: translate(-50%,-50%);
background-color: transparent;
text-align: center;
width: 100%;
}
.eye{
position: relative;
display: inline-block;
width: 30px;
height: 30px;
background-color: white;
margin: 20px;
border-radius: 50%;
border: 2px solid black;
overflow: hidden;
}
.inside{
position: absolute;
width: 15px;
height: 15px;
background-color: black;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
border-radius: 50%;
border: 1px solid gray;
}