-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
65 lines (64 loc) · 1.31 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
body {
margin: auto;
padding: 500;
min-height: 100vh;
display: grid;
align-items: center;
justify-content: center;
background: #c991d8;
h1{
font-family: sans-serif;
font-size: 50px;
font-weight: bold;
text-align: center;
color: rgb(166, 26, 235);
}
h2{
font-family: sans-serif;
font-size: 25px;
font-weight: bold;
text-align: center;
color: rgb(166, 26, 235);
}
}
.coracao{
margin: auto;
height: 100px;
width: 100px;
background: #d7069f;
position:right;
transform: rotate(-45deg);
box-shadow: -10px 10px 90px #d7069f;
animation: coracao 0.6s linear infinite;
}
@keyframes coracao{
0%{
transform: rotate(-45deg) scale(1.07);
}
80%{
transform: rotate(-45deg) scale(1.0);
}
100%{
transform: rotate(-45deg) scale(0.8);
}
}
.coracao:before{
content: '';
position: absolute;
height: 100px;
width: 100px;
background: #d7069f;
top: -50%;
border-radius: 100px;
box-shadow: -10px -10px 90px #d7069f;
}
.coracao:after{
content: '';
position: absolute;
height: 100px;
width: 100px;
background: #d7069f;
right: -50%;
border-radius:100px;
box-shadow: 10px 10px 90px #d7069f;
}