_loader.scss 320 B

1234567891011121314151617181920
  1. @keyframes loader {
  2. 0% {
  3. transform: rotate(0deg);
  4. }
  5. 100% {
  6. transform: rotate(360deg);
  7. }
  8. }
  9. .loader {
  10. display: block;
  11. width: 3rem;
  12. height: 3rem;
  13. margin: 0 auto;
  14. border-radius: 50%;
  15. border: 2px solid transparent;
  16. border-top-color: $color-primary;
  17. animation: .75s loader infinite linear;
  18. }