M/s VIKASH TECH - We Write Imaginations to Codes..!!

Color Changing Shiny Loader using HTML & CSS

Hello readers, Today in this blog you’ll learn how to create a Color Changing Shiny Loader using only HTML & CSS.
Preloaders (also known as loaders) are what you see on the webpage screen while the rest of the page contents is still loading. Preloaders or loaders are often easy or complex animations that are used to keep visitors entertained while server operations finish processing.
This loader rotates 360deg clockwise. At that meantime of rotating it changes their color to blue, orange, yellow, and green. That means when it completed rotates 90deg it’s color change blue to orange and when it completed rotates 180deg it’s color change orange to yellow and when it completed rotates 360deg it’s color change yellow to green. The center “loading…” text smoothly fade out and fade in when the loader is rotating.

If you’re feeling difficulty to understanding what I’m saying then you can Try the code below to check the output yourself.Still facing issues? Feel free to mail us your queries on info@vikashtech.com


<!DOCTYPE html>
<!-- Created By Praveen kumar-->
<html lang="en" dir="ltr">
    <meta charset="utf-8">

     <title>Loading Animation</title> 
    <link rel="stylesheet" href="blog.css">
    <div class="center">
      <div class="ring">


  margin: 0;
  padding: 0;
  font-family: montserrat;
  background: black;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  animation: ring 2s linear infinite;
@keyframes ring {
    transform: rotate(0deg);
    box-shadow: 1px 5px 2px #e65c00;
    transform: rotate(180deg);
    box-shadow: 1px 5px 2px #18b201;
    transform: rotate(360deg);
    box-shadow: 1px 5px 2px #0456c8;
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255,255,255,.3);
  color: #737373;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 200px;
  animation: text 3s ease-in-out infinite;
@keyframes text {
    color: black;
Category :


No comments found.

Leave a Reply

Latest Posts

telegram bot

How to send message via Telegram Bot using PHP - Telegram API

Telegram is a great platform for chat and communication purposes. Having a large community and large user base, it is…

SuiteCRM, an open source tool for startups to use from an early stage.

When we talk about businesses in their early stage, it's quite a big deal to choose good management and sales…

How to Implement Google QAuth Authentication | Google Login - PHP MySQL

PHP Google OAuth API allows users to login into a website with their Google credentials. A user with a Google…

How to use Google Two Factor Authentication in your project?

At our end we take security at a priority, implementation of different ways to secure website should be the priority…

%d bloggers like this: