-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (57 loc) · 1.02 KB
/
style.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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #000;
}
.emoji-face {
position: relative;
width: 300px;
height: 300px;
background: rgb(251 255 15 / 79%);
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
transition: 0.5s;
}
.emoji-face::before {
content: "";
top: 180px;
position: absolute;
width: 150px;
height: 70px;
background: crimson;
border-bottom-left-radius: 70px;
border-bottom-right-radius: 70px;
transition: 0.5s;
}
.eyes {
position: relative;
top: -40px;
display: flex;
}
.eyes .eye {
position: relative;
width: 80px;
height: 80px;
display: block;
background: white;
border-radius: 50%;
margin: 0 15px;
}
.eyes .eye::before {
content: "";
position: absolute;
top: 50%;
left: 25px;
transform: translate(-50%, -50%);
width: 40px;
height: 40px;
border-radius: 50%;
background: black;
}