VOOZH about

URL: https://www.geeksforgeeks.org/web-templates/how-to-create-a-dot-loading-animation-using-html-and-css/

⇱ How to Create a Dot loading Animation using HTML and CSS? - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

How to Create a Dot loading Animation using HTML and CSS?

Last Updated : 14 Aug, 2020

The Dot Loading animation can be used to enhance the user interface of a website, it can be added while the website loads. This animation can be easily created using HTML and CSS.

HTML Code: In this section we will create the basic structure of the dot loader using a div tag which will have some span tags inside of it.

CSS Code: In this section first we will create the dots structure using some basic CSS properties and then in order to create the animation we will use @keyframes rule and use the transformX() function to produce the desired effect.

Complete Code:  It is the combination of the above two code sections.

Output: 

👁 Image
Comment