三个点加载效果
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="divport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
.dot1,
.dot2,
.dot3 {
width: 10px;
height: 10px;
border-radius: 50%;
margin: 10px;
}
.dot1 {
animation: jump 1s -0.32s linear infinite;
background: #ccc;
}
.dot2 {
animation: jump 1s -0.16s linear infinite;
background: #ccc;
}
.dot3 {
animation: jump 1s linear infinite;
background: #ccc;
}
@keyframes jump {
0%,
80%,
100% {
background: #000;
}
40% {
background: #fff;
}
}
</style>
</head>
<body>
<div style="display: flex;background: #fff;padding: 25px;align-items: center;">
<div class="dot1"> </div>
<div class="dot2"></div>
<div class="dot3"></div>
</div>
</body>
</html>