-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path点扩散动画.html
55 lines (46 loc) · 1.13 KB
/
点扩散动画.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>点扩散</title>
<style>
.content{
width: 748px;
height:618px;
position: absolute;
left: 410px;
top: 60px;
}
.content div{
background:#ffffff;
width: 4px;
height: 4px;
border: 6px #780385 solid;
border-radius:50%;
position: relative;
}
.content p, .content span{
position: absolute;
width: 4px;
height: 4px;
border-radius:50%;
animation: myfirst 1.5s infinite;
box-shadow: 0px 0px 1px #780385;
margin: 0px;
}
.content span{
animation-delay: 0.8s;
}
.content .ten{background: #A2A9B4;position: absolute;left:300px; top:350px;}
@keyframes myfirst{
10% {transform: scale(1);}
100% {transform: scale(8);}
}
</style>
</head>
<body>
<div class="content">
<div class="ten"><p></p><span></span></div>
</div>
</body>
</html>