效果
源码
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Glowing Dots Animation</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="loader">
<div class="circle" style="--clr:#04fc43;"></div>
<div class="circle circle2" style="--clr:#fee800;"></div>
<div class="circle circle3" style="--clr:#ff00be;"></div>
</div>
</body>
</html>
css
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body
{
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
b