-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
73 lines (73 loc) · 1.23 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
*
{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body
{
margin: 0;
padding: 0;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background-color: #0b1522;
}
.heart
{
height: 150px;
width: 150px;
background-color: red;
position: relative;
transform: rotate(45deg);
box-shadow: -20px 20px 150px #f20044;
animation: palpitar 0.5s linear infinite alternate;
}
.content
{
position: fixed;
margin-bottom: 50px;
text-align: center;
}
h1,h2
{
color: white;
}
@keyframes palpitar
{
0%
{
transform: rotate(45deg) scale(1.10);
}
80%
{
transform: rotate(45deg) scale(1.0);
}
100%
{
transform: rotate(45deg) scale(0.80);
}
}
.heart::before
{
content: "";
position: absolute;
height: 150px;
width: 150px;
background: red;
right: 50%;
border-radius: 50%;
box-shadow: 20px 20px 150px #f20044;
}
.heart::after
{
content: "";
position: absolute;
height: 150px;
width: 150px;
background: red;
top: -50%;
border-radius: 50%;
box-shadow: 20px 20px 150px #f20044;
}