Skip to main content

Make a simple Loading Animation With the help of HTML and CSS

 

Make a simple Loading Animation With the help of HTML and CSS


Source code :


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> CSS animation Tutorial</title>
    <style>
  
 a{
     animation: bouncing 0.5s ease 0s infinite alternate both;
  background-colorblue;
  border-radius50%;
  displayinline-block;
  colorwhite;
  cursorpointer;
  font-size0.75rem;
  font-weight300;
  letter-spacing0.2em;
  padding1em 1em 1.1em;
  positionrelative;
  text-decorationnone;
  text-transformuppercase;
  vertical-aligntop;
  margin-top100px;
  box-shadow3px 3px 3px solid black;
 }
 @keyframes bouncing{
     0%{
         bottom0;
         box-shadow0 0 5px rgb(00,0.5);

     }
     100%{
         bottom50px;
         box-shadow0 50px 50px rgb(00,0.1);;
     }
 }
    </style>
</head>
<body>
    
    <a>Loading</a>
</body>
</html>











IF THIS CODE IF HELPFUL FOR YOU
DON'T FORGET TO HIT THE LIKE BUTTON
AND DO SUBCRIBE TO MY YOUTUBE CHANNEL

CODING WITH ROANNIE