-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcorazon.html
66 lines (65 loc) · 1.67 KB
/
corazon.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>corazonlatiendo</title>
</head>
<style>
body{
margin:0;
padding: 0;
min-height: 100vh;
display: flex ;
align-items: center;
justify-content: center;
background:#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;
}
.contenido{
position: fixed;
margin-bottom: 50px;
text-align: center;
}
h1{color : white;};
h2{color : white}
.heart::before{
content: "";
position: absolute;
height: 150px;
width: 150px;
background: red;
right: 50%;
border-radius: 50% ;
box-shadow: 20px 20px 150px #f20044;
}
@keyframes palpitar{
0%{transform: rotate(45deg) scale(1.10);}
80%{transform: rotate(45deg) scale(1.0);}
100%{transform:rotate(45deg) scale(0.8);}
}
.heart::after{
content: "";
position: absolute;
height: 150px;
width: 150px;
background: red;
top: -50%;
border-radius: 50% ;
box-shadow: 20px 20px 150px #f20044;
}
</style>
<body>
</body>
<div class="heart"></div>
<div class="contenido"><h1>TE AMO</h1><h2>J</h2></div>
</html>