Notes
HTML
CSS
JS
Tools
Code Snippets
HTML Entity
About
Contact Us
Colored Spinception Loader Using HTML and CSS
HTML
CSS
JS
Output
HTML
<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Colored Spinception Loader Using HTML and CSS</title> </head> <body> <section> <h1 class="mainHeading">Colored Spinception Loader Using HTML and CSS</h1> <div class="mainDiv"> <div class="spinner-div"></div> </div> </body> </html>
Copied
<html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Colored Spinception Loader Using HTML and CSS</title> </head> <body> <section> <h1 class="mainHeading">Colored Spinception Loader Using HTML and CSS</h1> <div class="mainDiv"> <div class="spinner-div"></div> </div> </body> </html>
CSS
* { margin: 0; padding: 0; box-sizing: border-box; } body { height: 100vh; display: flex; justify-content: center; align-items: center; } .mainHeading { color: rgb(6, 2, 114); text-align: center; } .mainDiv { display: flex; justify-content: center; margin-top: 1rem; } .spinner-div { box-sizing: border-box; position: relative; margin: auto; width: 128px; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 16px solid #0094ff; border-bottom: 16px solid #0094ff; animation: spinceptionAnimation 2s linear infinite; } .spinner-div::before { box-sizing: border-box; position: absolute; inset: 32px; margin: auto; content: ""; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 16px solid #00ff9f; border-bottom: 16px solid #00ff94; animation: spinceptionAnimation 1s linear infinite; animation-direction: reverse; } .spinner-div::after { box-sizing: border-box; position: absolute; inset: 48px; margin: auto; content: ""; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 8px solid #0094ff; border-bottom: 8px solid #0094ff; animation: spinceptionAnimation 4s linear infinite; } @keyframes spinceptionAnimation { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
Copied
* { margin: 0; padding: 0; box-sizing: border-box; } body { height: 100vh; display: flex; justify-content: center; align-items: center; } .mainHeading { color: rgb(6, 2, 114); text-align: center; } .mainDiv { display: flex; justify-content: center; margin-top: 1rem; } .spinner-div { box-sizing: border-box; position: relative; margin: auto; width: 128px; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 16px solid #0094ff; border-bottom: 16px solid #0094ff; animation: spinceptionAnimation 2s linear infinite; } .spinner-div::before { box-sizing: border-box; position: absolute; inset: 32px; margin: auto; content: ""; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 16px solid #00ff9f; border-bottom: 16px solid #00ff94; animation: spinceptionAnimation 1s linear infinite; animation-direction: reverse; } .spinner-div::after { box-sizing: border-box; position: absolute; inset: 48px; margin: auto; content: ""; aspect-ratio: 1/1; border-radius: 50%; border: none; border-top: 8px solid #0094ff; border-bottom: 8px solid #0094ff; animation: spinceptionAnimation 4s linear infinite; } @keyframes spinceptionAnimation { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
JS
Copied
Output
Our Courses
HTML 5
CSS
JavaScript
MySql
PHP
Laravel
Bootstrap
Programming Tutorial
PHP
JavaScript
HTML
Laravel
MySQL
JQuery
CSS
Git
Bootstrap
Vue JS
Android
Python
Server
Code Snippets
Chat Box
Range Slider
Radio Button
Select Box
Nav Bar
Other
Testimonial
Carousel
Logo
Loader
Lightbox
Forms
Popup
Table
HTML Course Code
HTML Entity
↑→ Arrows
$¢ Currency
Aö Letters
%+ Math
1¾ Numbers
&— Punctuation
©™ Symbols
Best Of
Internet
Technology
Health
Travel
Onine Tools
CSS Minifier
Text Converter
Age Calculator
Pincode Details
Whiteboard
PDF to Text
Gradient Generator
PX to REM Converter
REM to PX Converter
PX to EM Converter
EM to PX Converter
WEBP Converter
Latest & Upcoming movies
Bollywood
Hollywood
Tamil
Telgu
Bangla
Web Series
Notes
HTML
CSS
JS