...

/

Problem: Rotating Loading Spinner

Problem: Rotating Loading Spinner

Try to build a circular loader (spinner) that rotates indefinitely by defining appropriate CSS rules and keyframe animations.

Problem description

Given an HTML page containing a <div class="spinner"></div> element, write CSS to:

  • Style the spinner as a 50×50 px circle with a 5 px solid border, using a contrasting color for the top border to create the spinner ...