We are able to create spinner only with css, there is no need to use any other library for the spinner. We create diffrent type of spinners using only css and here is one best example of css spinner.
use this html for spinner
<div class="spinner"> </div>
use this css for spinner
.spinner{ width: 50px; height: 50px; border: 7px solid #f3f3f3; border-top: 7px solid #3498db; border-radius: 50%; animation: spin 1.5s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
THANKS
Related Tags
More From Oodles
Neha N | 14-Mar-2025
Ready to innovate? Let's get in touch
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Balraj Singh
Balraj is a creative UI designer with experience and capabilities to build compelling UI designs for Web and Mobile Applications. Balraj likes playing tech Quiz and loves bike riding.