-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
84 lines (77 loc) · 1.92 KB
/
Copy pathindex.html
File metadata and controls
84 lines (77 loc) · 1.92 KB
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
74
75
76
77
78
79
80
81
82
83
84
<!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>爱心</title>
<style>
* {
margin: 0;
padding: 0;
text-decoration: none;
box-sizing: border-box;
}
body {
display: grid;
place-items: center;
height: 100vh;
background: #000000;
}
.box {
transform: rotateZ(45deg);
width: 230px;
height: 230px;
}
@keyframes pulsate {
0% {
transform: scale(.6);
}
25% {
transform: scale(0.8);
}
50% {
transform: scale(1);
}
75% {
transform: scale(0.8);
}
100% {
transform: scale(0.6);
}
}
.lave {
position: relative;
width: 200px;
height: 200px;
background: #ff0000;
animation: pulsate normal 3s infinite running linear;
}
.lave::before {
content: "";
position: absolute;
display: block;
left: -100px;
width: 200px;
height: 200px;
background: #ff0000;
border-radius: 50%;
}
.lave::after {
content: "";
position: absolute;
display: block;
top: -100px;
width: 200px;
height: 200px;
background: #ff0000;
border-radius: 50%;
}
</style>
</head>
<body>
<div class="box">
<div class="lave"></div>
</div>
</body>
</html>