
<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>Document</title>
<style>
body{
background: #000;
}
/* .demo{
height: 100px;
width: 100px;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
transform: translate3d(0,0,0);
animation: spin 0.6s linear infinite;
border-left: #772ad5;
border-left: 2px solid #ff3d71;
border-top: 2px solid #000;
border-right: 2px solid #d5822a;
border-bottom: 1px solid #000;
} */
.demo{
height: 100px;
width: 100px;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
box-shadow: 0 3px 3px 0px #ff3d71;
transform: translate3d(0,0,0);
animation: spin 2s linear infinite;
border-left: #772ad5;
}
.demo::before{
content: ' ';
border-radius: 50%;
height: 100px;
width: 100px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
box-shadow: 0 3px 3px 0px #772ad5;
transform: translate3d(0,0,0);
animation: spin 2.3s linear infinite;
}
.demo::after{
content: ' ';
border-radius: 50%;
height: 100px;
width: 100px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -50px;
margin-left: -50px;
box-shadow: 0 3px 3px 0px #d5822a;
transform: translate3d(0,0,0);
animation: spin 2.6s linear infinite;
}
@keyframes spin {
0%{
transform: rotate(0);
}
100%{
transform: rotate(360deg);
}
}
</style>
</head>
<body>
<div class="demo"></div>
</body>
</html>