Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

Spinner

      <div className='loadingSpinnerContainer'>
      <div className='loadingSpinner'></div>
      
      //CSS
      .loadingSpinner {
  width: 64px;
  height: 64px;
  border: 8px solid;
  border-color: #00cc66 transparent #00cc66 transparent;
  border-radius: 50%;
  animation: spin 1.2s linear infinite;
}
@keyframes spin{
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
 
PREVIOUS NEXT
Tagged: #Spinner
ADD COMMENT
Topic
Name
6+3 =