-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
117 lines (103 loc) · 2.19 KB
/
Copy pathmain.css
File metadata and controls
117 lines (103 loc) · 2.19 KB
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
* {
box-sizing: border-box;
position: relative;
}
html {
font-size: 100%;
}
body {
background: #eee;
font-size: 10px;
}
.heart {
-webkit-animation: 1s pulse infinite;
animation: 1s pulse infinite;
margin: auto;
position: relative;
width: 40vmax;
}
.heart:before,
.heart:after {
background: #ee565a;
border-radius: 20vmax 20vmax 4vmax 4vmax;
content: "";
left: 20vmax;
height: 32vmax;
position: absolute;
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
width: 20vmax;
}
.heart:after {
left: 0;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
}
.face {
background: #222;
border-radius: 0 0 10vmax 10vmax;
border-top: 2vmax solid #fff;
display: block;
height: 6vmax;
left: 14vmax;
position: absolute;
top: 16vmax;
width: 12vmax;
z-index: 5;
}
.face:before, .face:after {
background: #222;
border-radius: 4vmax;
box-shadow: 0 4vmax 0 -0.9vmax #e04e50;
content: '';
display: block;
height: 4vmax;
position: absolute;
bottom: 8vmax;
width: 4vmax;
z-index: 5;
}
.face:before {
left: -4vmax;
}
.face:after {
right: -4vmax;
}
h1 {
background: #fff;
border: 1px solid #ddd;
border-radius: 20vmax;
font: 700 5vmax "Amatic SC";
margin: 10vmax auto 4vmax;
padding: 1vw;
text-align: center;
width: 50vmax;
z-index: 5;
}
h1:after {
border: 1vw solid transparent;
border-color: transparent #fff #fff transparent;
box-shadow: 0.1vmax 0.1vmax #ddd;
content: '';
display: block;
left: 6vmax;
position: absolute;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
@-webkit-keyframes pulse {
80% {
-webkit-transform: scale(0.9);
transform: scale(0.9);
}
}
@keyframes pulse {
80% {
-webkit-transform: scale(0.9);
transform: scale(0.9);
}
}