<div class="custom-loader"></div>
.custom-loader { width: 40px; height: 10px; color: #f000b4; background: radial-gradient(farthest-side, currentColor 90%, #0000) left / 10px 10px, radial-gradient(farthest-side, currentColor 90%, #0000) center/10px 10px, radial-gradient(farthest-side, currentColor 90%, #0000) right / 10px 10px, linear-gradient(currentColor 0 0) center/100% 4px; background-repeat: no-repeat; position: relative; animation: s6 2s infinite linear;