Create Spinner with pure CSS
Posted By : Balraj Singh | 12-Jan-2017
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
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.