Pure CSS Website Loader

Website loader is the most important element for a website. before the website contents loading the website, preloader is showing, in today article we will create Pure CSS website loader without using any jQuery and Javascript language, we will use Pure CSS.

What is Preloader?

Preloader is the most important element of the website because these days if any website takes 10 seconds just in loading then what we do? so we close the website, so in this situation, we need to add a preloader to our website. so the visitor will not bore in the loading time. in this today article, we will create a pure CSS website loader.

Index.html
<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <title>Pure CSS Loading Spinner</title>
        <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
 
 <div class="loader">
  <div class="spinner">
   
  </div>
 </div>

</body>
</html>
Style.css
.loader {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
  }

  .spinner {
   width: 100px;
   height: 100px;
   border-radius: 50%;
   border: 3px solid transparent;
   border-top-color: red;
   border-right-color: red;
   border-bottom-color: red;
   animation: load 1s linear infinite;

  }

  @keyframes load {
   25% {
             transform: rotate(100deg);
             border-top-color: #F20DEA;
    border-right-color: #F20DEA;
    border-bottom-color: #F20DEA;

   }

   50% {
             transform: rotate(200deg);
             border-top-color: #0CF43D;
    border-right-color: #0CF43D;
    border-bottom-color: #0CF43D;
   }

   75% {
             transform: rotate(300deg);
             border-top-color: #E9F70D;
    border-right-color: #E9F70D;
    border-bottom-color: #E9F70D;
   }

   100% {
             transform: rotate(360deg);
             border-top-color: #064FF5;
    border-right-color: #064FF5;
    border-bottom-color: #064FF5;
   }
  }

COMMENTS

Name

ajax,2,HTML & CSS,19,JavaScript,1,PHP,11,
ltr
item
webtipstricks: Pure CSS Website Loader
Pure CSS Website Loader
Website loader is the most important element for a website. before the website contents loading the website, preloader is showing, in today article we will create Pure CSS website loader without using any jQuery and Javascript language, we will use Pure CSS.
https://3.bp.blogspot.com/-2zwFrADlUEg/Wu9DosRiEdI/AAAAAAAABls/krlht3YY814LD3leR6zzC2v1HG0MdS_UgCLcBGAs/s640/website%2Bloader-min.png
https://3.bp.blogspot.com/-2zwFrADlUEg/Wu9DosRiEdI/AAAAAAAABls/krlht3YY814LD3leR6zzC2v1HG0MdS_UgCLcBGAs/s72-c/website%2Bloader-min.png
webtipstricks
https://www.webtipstricks.com/2018/05/website-loader.html
https://www.webtipstricks.com/
https://www.webtipstricks.com/
https://www.webtipstricks.com/2018/05/website-loader.html
true
4027471107773963481
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy