-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle1.css
64 lines (53 loc) · 1.17 KB
/
style1.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
:root {
--icon-background: purple;
}
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.icon {
background: var(--icon-background);
display: flex;
justify-content: flex-end;
height: 300px;
width: 300px;
overflow: hidden;
position: relative;
}
.yellow_side {
background-color: yellow;
height: 200%;
width: 100%;
transform: translate(150px, -150px);
}
.yellow_side:before {
background-color: yellow;
border-top-left-radius: 1200px;
border-bottom-left-radius: 30px;
content: "";
display: block;
height: 400px;
width: 400px;
transform: translate(-40px, -80px);
}
.eyes {
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 30%;
width: 100%;
}
.eyes .eye {
background:yellow;
border-radius: 100%;
height: 20px;
width: 20px;
margin: 0 70px;
}
.eye.right {
background-color: purple;
transform: translateX(-20px);
}