Punctuation loading animation - HTML CSS CSS Animation

HTML CSS examples for CSS Animation:Pulse

Description

Punctuation loading animation

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

@keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }
@-webkit-keyframes dots-1 { from { opacity: 0; } 25% { opacity: 1; } }
@-webkit-keyframes dots-2 { from { opacity: 0; } 50% { opacity: 1; } }
@-webkit-keyframes dots-3 { from { opacity: 0; } 75% { opacity: 1; } }
.dots span {<!--   www. ja  v a  2s  .  c o m-->
   animation: dots-1 1s infinite steps(1);
   -webkit-animation: dots-1 1s infinite steps(1);
}
.dots span:first-child + span {
   animation-name: dots-2;
   -webkit-animation-name: dots-2;
}
.dots span:first-child + span + span {
   animation-name: dots-3;
   -webkit-animation-name: dots-3;
}


      </style> 
 </head> 
 <body>
   Waiting 
  <span class="dots"> <span>.</span> <span>.</span> <span>.</span> </span> for more.  
 </body>
</html>

Related Tutorials