CSS Text Loaders

CSS text loader is a feature in web development that helps to reduce the time it takes to load a website's styling and formatting. It is often used in conjunction with HTML and JavaScript to speed up the loading time of websites.

Animated text loaders HTML CSS

L   ading
Load ng
Load ng
Loading
Loading
Loading
<div class="loaders-container-00">
  <div>
      <span class="text-loader-1">L &nbsp; ading </span>
  </div>
  <div>
      <span class="text-loader-2">Load&nbsp;ng </span>
  </div>
  <div>
      <span class="text-loader-3">Load&nbsp;ng </span>
  </div>
  <div>
      <span class="text-loader-4">Loading</span>
  </div>
  <div>
      <span class="text-loader-5">Loading</span>
  </div>
  <div>
      <span class="text-loader-6">Loading</span>
  </div>
</div>
.text-loader-1 {
  font-size: 48px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #fff;
  position: relative;
}
.text-loader-1::before {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 5px solid #fff;
  border-bottom-color: #1da1f2;
  -webkit-animation: rotation 0.6s linear infinite;
  animation: rotation 0.6s linear infinite;
}

.text-loader-2 {
  color: #fff;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  letter-spacing: 4px;
}
.text-loader-2::before {
  content: "";
  position: absolute;
  right: 70px;
  bottom: 10px;
  height: 28px;
  width: 5.15px;
  background: currentColor;
  -webkit-animation: animloader113L 1s linear infinite alternate;
  animation: animloader113L 1s linear infinite alternate;
}
.text-loader-2::after {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 125px;
  top: 2px;
  border-radius: 50%;
  background: #1da1f2;
  -webkit-animation: animloader113 1s linear infinite alternate;
  animation: animloader113 1s linear infinite alternate;
}
.text-loader-3 {
  color: #fff;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 48px;
  letter-spacing: 4px;
}
.text-loader-3::before {
  content: "";
  position: absolute;
  right: 70px;
  bottom: 10px;
  height: 28px;
  width: 5.15px;
  background: currentColor;
}
.text-loader-3::after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  left: 125px;
  top: 2px;
  border-radius: 50%;
  background: #1da1f2;
  -webkit-animation: animloader114 1s ease-in infinite;
  animation: animloader114 1s ease-in infinite;
}
.text-loader-4 {
  color: #fff;
  position: relative;
  font-size: 48px;
  font-family: Arial, Helvetica, sans-serif;
}
.text-loader-4::after {
  content: "";
  width: 5px;
  height: 5px;
  background: currentColor;
  position: absolute;
  bottom: 10px;
  right: -5px;
  -webkit-animation: animloader115 1s linear infinite;
  animation: animloader115 1s linear infinite;
}

.text-loader-5 {
  font-size: 48px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #1da1f2;
  letter-spacing: 2px;
  position: relative;

  display: inline-block;
}
.text-loader-5::after {
  content: "Loading";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  overflow: hidden;

  font-family: Arial, Helvetica, sans-serif;
  -webkit-animation: animloader111 10s ease-in infinite;
  animation: animloader111 10s ease-in infinite;
}

.text-loader-6 {
  font-size: 48px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #1da1f2;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}
.text-loader-6::after {
  content: "Loading";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-animation: animloader110 6s linear infinite;
  animation: animloader110 6s linear infinite;
}

@-webkit-keyframes animloader111 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes animloader111 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@-webkit-keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes animloader113L {
  0% {
    box-shadow: 0 -6px, -122.9px -8px;
  }
  25%,
  75% {
    box-shadow: 0 0px, -122.9px -8px;
  }
  100% {
    box-shadow: 0 0px, -122.9px -16px;
  }
}
@keyframes animloader113L {
  0% {
    box-shadow: 0 -6px, -122.9px -8px;
  }
  25%,
  75% {
    box-shadow: 0 0px, -122.9px -8px;
  }
  100% {
    box-shadow: 0 0px, -122.9px -16px;
  }
}
@-webkit-keyframes animloader113 {
  0% {
    transform: translate(0px, 0px) scaleX(1);
  }
  14% {
    transform: translate(-12px, -16px) scaleX(1.05);
  }
  28% {
    transform: translate(-27px, -28px) scaleX(1.07);
  }
  42% {
    transform: translate(-46px, -35px) scaleX(1.1);
  }
  57% {
    transform: translate(-70px, -37px) scaleX(1.1);
  }
  71% {
    transform: translate(-94px, -32px) scaleX(1.07);
  }
  85% {
    transform: translate(-111px, -22px) scaleX(1.05);
  }
  100% {
    transform: translate(-125px, -9px) scaleX(1);
  }
}
@keyframes animloader113 {
  0% {
    transform: translate(0px, 0px) scaleX(1);
  }
  14% {
    transform: translate(-12px, -16px) scaleX(1.05);
  }
  28% {
    transform: translate(-27px, -28px) scaleX(1.07);
  }
  42% {
    transform: translate(-46px, -35px) scaleX(1.1);
  }
  57% {
    transform: translate(-70px, -37px) scaleX(1.1);
  }
  71% {
    transform: translate(-94px, -32px) scaleX(1.07);
  }
  85% {
    transform: translate(-111px, -22px) scaleX(1.05);
  }
  100% {
    transform: translate(-125px, -9px) scaleX(1);
  }
}
@-webkit-keyframes animloader114 {
  0% {
    transform: translateY(8px) scaleY(1) scaleX(1.25);
  }
  25%,
  75% {
    transform: translateY(-5px) scaleY(1.2) scaleX(1);
  }
  50% {
    transform: translateY(-10px) scaleY(1) scaleX(1);
  }
  100% {
    transform: translateY(8px) scaleY(0.8) scaleX(0.8);
  }
}
@keyframes animloader114 {
  0% {
    transform: translateY(8px) scaleY(1) scaleX(1.25);
  }
  25%,
  75% {
    transform: translateY(-5px) scaleY(1.2) scaleX(1);
  }
  50% {
    transform: translateY(-10px) scaleY(1) scaleX(1);
  }
  100% {
    transform: translateY(8px) scaleY(0.8) scaleX(0.8);
  }
}

@-webkit-keyframes animloader115 {
  0% {
    box-shadow: 10px 0 rgba(255, 255, 255, 0), 20px 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 10px 0 white, 20px 0 rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 10px 0 white, 20px 0 white;
  }
}
@keyframes animloader115 {
  0% {
    box-shadow: 10px 0 rgba(255, 255, 255, 0), 20px 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 10px 0 white, 20px 0 rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 10px 0 white, 20px 0 white;
  }
}

@-webkit-keyframes animloader110 {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}
@keyframes animloader110 {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}
.text-loader-1 {
	font-size: 48px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #fff;
	position: relative;
	&::before {
		content: "";
		position: absolute;
		left: 34px;
		bottom: 8px;
		width: 30px;
		height: 30px;
		border-radius: 50%;
		border: 5px solid #fff;
		border-bottom-color: #1da1f2;
		-webkit-animation: rotation 0.6s linear infinite;
		animation: rotation 0.6s linear infinite;
	}
}
.text-loader-2 {
	color: #fff;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 48px;
	letter-spacing: 4px;
	&::before {
		content: "";
		position: absolute;
		right: 70px;
		bottom: 10px;
		height: 28px;
		width: 5.15px;
		background: currentColor;
		-webkit-animation: animloader113L 1s linear infinite alternate;
		animation: animloader113L 1s linear infinite alternate;
	}
	&::after {
		content: "";
		width: 10px;
		height: 10px;
		position: absolute;
		left: 125px;
		top: 2px;
		border-radius: 50%;
		background: #1da1f2;
		-webkit-animation: animloader113 1s linear infinite alternate;
		animation: animloader113 1s linear infinite alternate;
	}
}
.text-loader-3 {
	color: #fff;
	position: relative;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 48px;
	letter-spacing: 4px;
	&::before {
		content: "";
		position: absolute;
		right: 70px;
		bottom: 10px;
		height: 28px;
		width: 5.15px;
		background: currentColor;
	}
	&::after {
		content: "";
		width: 8px;
		height: 8px;
		position: absolute;
		left: 125px;
		top: 2px;
		border-radius: 50%;
		background: #1da1f2;
		-webkit-animation: animloader114 1s ease-in infinite;
		animation: animloader114 1s ease-in infinite;
	}
}
.text-loader-4 {
	color: #fff;
	position: relative;
	font-size: 48px;
	font-family: Arial, Helvetica, sans-serif;
	&::after {
		content: "";
		width: 5px;
		height: 5px;
		background: currentColor;
		position: absolute;
		bottom: 10px;
		right: -5px;
		-webkit-animation: animloader115 1s linear infinite;
		animation: animloader115 1s linear infinite;
	}
}
.text-loader-5 {
	font-size: 48px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #1da1f2;
	letter-spacing: 2px;
	position: relative;
	display: inline-block;
	&::after {
		content: "Loading";
		position: absolute;
		left: 0;
		top: 0;
		color: #fff;
		width: 100%;
		height: 100%;
		overflow: hidden;
		font-family: Arial, Helvetica, sans-serif;
		-webkit-animation: animloader111 10s ease-in infinite;
		animation: animloader111 10s ease-in infinite;
	}
}
.text-loader-6 {
	font-size: 48px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #1da1f2;
	letter-spacing: 2px;
	position: relative;
	display: inline-block;
	&::after {
		content: "Loading";
		position: absolute;
		left: 0;
		top: 0;
		color: #fff;
		width: 100%;
		height: 100%;
		overflow: hidden;
		-webkit-animation: animloader110 6s linear infinite;
		animation: animloader110 6s linear infinite;
	}
}
@-webkit-keyframes animloader111 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
@keyframes animloader111 {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@-webkit-keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes animloader113L {
  0% {
    box-shadow: 0 -6px, -122.9px -8px;
  }
  25%,
  75% {
    box-shadow: 0 0px, -122.9px -8px;
  }
  100% {
    box-shadow: 0 0px, -122.9px -16px;
  }
}
@keyframes animloader113L {
  0% {
    box-shadow: 0 -6px, -122.9px -8px;
  }
  25%,
  75% {
    box-shadow: 0 0px, -122.9px -8px;
  }
  100% {
    box-shadow: 0 0px, -122.9px -16px;
  }
}
@-webkit-keyframes animloader113 {
  0% {
    transform: translate(0px, 0px) scaleX(1);
  }
  14% {
    transform: translate(-12px, -16px) scaleX(1.05);
  }
  28% {
    transform: translate(-27px, -28px) scaleX(1.07);
  }
  42% {
    transform: translate(-46px, -35px) scaleX(1.1);
  }
  57% {
    transform: translate(-70px, -37px) scaleX(1.1);
  }
  71% {
    transform: translate(-94px, -32px) scaleX(1.07);
  }
  85% {
    transform: translate(-111px, -22px) scaleX(1.05);
  }
  100% {
    transform: translate(-125px, -9px) scaleX(1);
  }
}
@keyframes animloader113 {
  0% {
    transform: translate(0px, 0px) scaleX(1);
  }
  14% {
    transform: translate(-12px, -16px) scaleX(1.05);
  }
  28% {
    transform: translate(-27px, -28px) scaleX(1.07);
  }
  42% {
    transform: translate(-46px, -35px) scaleX(1.1);
  }
  57% {
    transform: translate(-70px, -37px) scaleX(1.1);
  }
  71% {
    transform: translate(-94px, -32px) scaleX(1.07);
  }
  85% {
    transform: translate(-111px, -22px) scaleX(1.05);
  }
  100% {
    transform: translate(-125px, -9px) scaleX(1);
  }
}
@-webkit-keyframes animloader114 {
  0% {
    transform: translateY(8px) scaleY(1) scaleX(1.25);
  }
  25%,
  75% {
    transform: translateY(-5px) scaleY(1.2) scaleX(1);
  }
  50% {
    transform: translateY(-10px) scaleY(1) scaleX(1);
  }
  100% {
    transform: translateY(8px) scaleY(0.8) scaleX(0.8);
  }
}
@keyframes animloader114 {
  0% {
    transform: translateY(8px) scaleY(1) scaleX(1.25);
  }
  25%,
  75% {
    transform: translateY(-5px) scaleY(1.2) scaleX(1);
  }
  50% {
    transform: translateY(-10px) scaleY(1) scaleX(1);
  }
  100% {
    transform: translateY(8px) scaleY(0.8) scaleX(0.8);
  }
}

@-webkit-keyframes animloader115 {
  0% {
    box-shadow: 10px 0 rgba(255, 255, 255, 0), 20px 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 10px 0 white, 20px 0 rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 10px 0 white, 20px 0 white;
  }
}
@keyframes animloader115 {
  0% {
    box-shadow: 10px 0 rgba(255, 255, 255, 0), 20px 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 10px 0 white, 20px 0 rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 10px 0 white, 20px 0 white;
  }
}

@-webkit-keyframes animloader110 {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}
@keyframes animloader110 {
  0% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}