-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
61 lines (50 loc) · 872 Bytes
/
index.css
File metadata and controls
61 lines (50 loc) · 872 Bytes
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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.corazon {
width: 100px;
height: 100px;
background: red;
transform: rotate(45deg);
margin: 200px auto;
position: relative;
animation: beat 2s linear infinite;
}
.corazon:before, .corazon:after{
content: "";
display: block;
width: 100%;
height: 100%;
position: absolute;
background: red;
border-radius: 50%;
}
.corazon:before{
top:0;
left:-50%;
}
.corazon:after{
top:-50%;
left:0;
}
@keyframes beat{
0%{
transform: scale(1) rotate(45deg);
}
50% {
transform: scale(1.5) rotate(45deg);
}
100% {
transform: scale(1) rotate(45deg);
}
}