spinner.styl 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * From https://github.com/tobiasahlin/SpinKit
  3. *
  4. * Usage:
  5. *
  6. * <div class="sk-spinner sk-spinner-wave">
  7. * <div class="sk-rect1"></div>
  8. * <div class="sk-rect2"></div>
  9. * <div class="sk-rect3"></div>
  10. * <div class="sk-rect4"></div>
  11. * <div class="sk-rect5"></div>
  12. * </div>
  13. *
  14. */
  15. .sk-spinner {
  16. width: 50px;
  17. height: 50px;
  18. margin: auto;
  19. text-align: center;
  20. font-size: 10px;
  21. div {
  22. background-color: #333;
  23. height: 100%;
  24. width: 6px;
  25. display: inline-block;
  26. animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
  27. }
  28. .sk-rect2 { animation-delay: -1.1s }
  29. .sk-rect3 { animation-delay: -1.0s }
  30. .sk-rect4 { animation-delay: -0.9s }
  31. .sk-rect5 { animation-delay: -0.8s }
  32. }
  33. @keyframes sk-waveStretchDelay {
  34. 0%, 40%, 100% { transform: scaleY(0.4) }
  35. 20% { transform: scaleY(1.0) }
  36. }