<main>
<div class="circle">
<div class="arrow1"></div>
<div class="arrow2"></div>
</div>
</main>
*{
box-sizing: border-box;
}
:root{
--arh: 200px;
--arw: 200px;
}
body,html{
height: 100%;
padding: 0;
margin: 0;
}
main{
display: flex;
align-items: center;
justify-content: center;
min-height: 100%;
}
.circle{
overflow: hidden;
height: 200px;
background: linear-gradient(24deg, #ae2795, #f1971f);
width: 200px;
border-radius: 50%;
box-shadow: inset 0px -60px 30px rgba(0, 0, 0, 0.1), inset 0px 30px 30px rgba(255, 255, 255, 0.2), 5px 10px 50px rgba(0, 0, 0, 0.1);
}
.arrow1{
width: 0;
height: 0;
border-top: 35px solid transparent;
border-bottom: 35px solid transparent;
border-left: 65px solid white;
position: relative;
top: 50%;
left: 55%;
transform: translate(-50% , -50%);
animation: arrows1 3s ease-in 0.12s infinite;
opacity: 1;
animation-fill-mode: forwards;
}
.arrow2{
width: 0;
height: 0;
border-top: 35px solid transparent;
border-bottom: 35px solid transparent;
border-left: 65px solid white;
position: relative;
top: 15%;
left: -10%;
transform: translate(-50% , -50%);
animation: arrows2 3s linear infinite;
opacity: 0;
animation-fill-mode: forwards;
}
@keyframes arrows1{
0%{
left: 55%;
}
40%{
left: 55%
}
50%{
left: 120%;
opacity: 1;
}
60%{
opacity: 0.2;
left: 120%;
}
61%{
opacity: 0;
}
62%{
left:55%:
opacity: 0;
}
89%{opacity: 0}
90%{
opacity:1;
left: 55%;
}
100%{
opacity: 1;
left: 55%;
}
}
@keyframes arrows2{
0%{
left: -10%;
opacity: 0;
}
40%{
left: -10%;
opacity: 0;
}
50%{
left: 55%;
opacity: 1;
}
60%{
left: 55%;
}
100%{
left: 55%;
opacity: 1;
}
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.