<div class="loading">
	<div class="loading__container">
		<div class="loading__ring loading__ring--orange"></div>
		<div class="loading__ring loading__ring--green"></div>
		<div class="loading__ring loading__ring--blue"></div>
	</div>
</div>
@keyframes spin {
	0% {
		width: 130px;
	}
	
	25% {
		width: 130px;
		transform: rotate(0deg);
	}
	
  50% {
		width: 50px;
		transform: rotate(360deg);
  }
	
	75% {
		width: 50px;
		transform: rotate(0);
  }
	
	100% {
		width: 130px;
	}
}

body {
	background-color: #202830;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.loading {
	&__container {
		position: relative;
		width: 130px;
		height: 130px;
		border-radius: 100%;
		isolation: isolate;
		animation: spin 2.5s ease-in-out .5s forwards infinite;
	}
	
	&__ring {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		width: 50px;
		height: 50px;
		border-radius: 50px;
		mix-blend-mode: plus-lighter;
		
		&--orange {
			background-color: #f58004;
			left: 0;
		}
		
		&--green {
			background-color: #4be053;
			left: 50%;
			transform: translate(-50%, -50%);
		}
		
		&--blue {
			background-color: #44BCF4;
			right: 0;
		}
	}
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.