-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
59 lines (52 loc) · 837 Bytes
/
index.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
body {
display: flex;
justify-content: center;
align-items: center;
}
div {
box-sizing: border-box;
}
.bottom {
width: 100%;
max-width: 450px;
height: 650px;
background: #a4231f;
border-radius: 4px;
position: relative;
transform: rotate(-7.5deg);
}
.paper {
position: absolute;
background: white;
border-radius: 4px;
border: 2px solid #252225;
width: 100%;
height: 100%;
transform: rotate(7.5deg);
padding: 16px 56px;
}
.content {
font-size: 48px;
font-weight: bold;
}
.highlight {
color: #cb262e;
}
.heart {
font-size: 48px;
position: absolute;
color: #cb262e;
right: 56px;
bottom: 56px;
animation: bling 0.3s linear 0s infinite alternate;
}
@keyframes bling {
from {
transform: scale(0.2);
opacity: 0.7;
}
to {
transform: scale(1);
opacity: 1;
}
}