forked from Kalvium-Program/-my_favt_emoji_boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
105 lines (95 loc) · 1.75 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;400;600&family=Poppins:wght@300&family=Roboto&display=swap');
body{
font-family: 'Roboto', sans-serif;
}
h1{
text-align: center;
}
.emoji-face{
width: 100px;
height: 100px;
background-color: #F2DD68;
margin: 20px;
border-radius: 50%;
position: relative;
}
.eye1{
position: absolute;
width: 10px;
height: 11px;
background-color: #995710;
border-radius: 50%;
left: 25px;
top: 30px;
}
.eye2{
position: absolute;
width: 10px;
height: 11px;
background-color: #995710;
border-radius: 50%;
right: 25px;
top: 30px;
}
.mouth{
width: 60px;
height: 30px;
background-color: #995710;
border-radius: 0 0 40px 40px;
position: absolute;
top: 60px;
left: 20px;
overflow: hidden;
}
.tongue{
width: 40px;
height: 15px;
position: absolute;
background-color: #E25D5D;
border-radius: 20px 20px 0 0;
top: 18px;
left: 10px;
}
.mouth-shock{
width: 20px;
height: 20px;
background-color: #995710;
border-radius: 50%;
position: absolute;
top: 60px;
left: 40px;
}
.mouth-speechless{
width: 50px;
height: 5px;
background-color: #995710;
position: absolute;
top: 65px;
left: 25px;
}
.emoji-face{
float: left;
transition: all 1s ease;
cursor: pointer;
filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.5));
}
.emoji-face:hover{
transform: scale(1.5);
}
.write-up{
position: absolute;
top: 300px;
background-color: #d8aa2b;
width: 800px;
left: 175px;
border-radius: 20px;
padding: 50px;
}
.wrapper{
width: max-content;
margin: 0 auto;
}
p{
text-align: center;
padding: 5px;
}