-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
127 lines (121 loc) · 1.96 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.heart {
background-color: crimson;
display: inline-block;
width: 200px;
height: 200px;
position: relative;
top: 0;
transform: rotate(-45deg);
position: absolute;
left: 45%;
top: 45%;
animation: heartbeat 1.25s infinite;
}
.heart::before,
.heart::after {
content: "";
background-color: crimson;
width: 200px;
height: 200px;
border-radius: 50%;
position: absolute;
animation: pulsecolor 1.25s infinite;
}
.heart::before {
top: -100px;
left: 0;
}
.heart::after {
top: 0;
left: 100px;
}
.right-eye {
position: absolute;
height: 15px;
width: 15px;
z-index: 1;
border-radius: 50%;
background-color: #000000;
right: 60px;
top: -10x;
animation: blink 1s infinite;
.right-eye::before {
top: -50px;
right: 0;
}
.right-eye::after {
top: 0;
right: 50px;
}
span {
position: absolute;
transition: all 0.3s;
width: 10px;
height: 10px;
margin-left: 5px;
margin-top: 5px;
background: #000;
border-radius: 50%;
}
}
.left-eye {
position: absolute;
height: 15px;
width: 15px;
z-index: 1;
border-radius: 50%;
background-color: #000000;
left: 175px;
bottom: 137px;
animation: blink 1s infinite;
}
.left-eye::before {
top: -50px;
right: 0;
}
.left-eye::after {
top: 0;
right: 50px;
}
.mouth {
position: absolute;
height: 10px;
width: 65px;
border-radius: 50%;
background-color: #000000;
align-item: center;
bottom: 70%;
left: 50%;
z-index: 2;
transform: rotate(45deg);
}
@keyframes heartbeat {
0% {
transform: scale(1)
rotate(-45deg);
}
10% {
transform: scale(1.25)
rotate(-45deg);
background-color: #ef3953;
}
100% {
transform: scale(1)
rotate(-45deg);
}
}
@keyframes pulsecolor {
10% {
background-color: #ef3953;
}
}
@keyframes blink {
0%, 100% {
transform: scale(1, .05);
}
5%,
95% {
transform: scale(1, 1);
}
}
Resources