spinner_bounce.styl 891 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @import 'nib'
  2. // From https://github.com/tobiasahlin/SpinKit
  3. .sk-spinner-bounce {
  4. margin: 100px auto 0;
  5. width: 70px;
  6. text-align: center;
  7. div {
  8. width: 18px;
  9. height: 18px;
  10. background-color: #333;
  11. border-radius: 100%;
  12. display: inline-block;
  13. -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  14. animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  15. }
  16. .sk-bounce1 {
  17. -webkit-animation-delay: -0.32s;
  18. animation-delay: -0.32s;
  19. }
  20. .sk-bounce2 {
  21. -webkit-animation-delay: -0.16s;
  22. animation-delay: -0.16s;
  23. }
  24. }
  25. @-webkit-keyframes sk-bouncedelay {
  26. 0%, 80%, 100% { -webkit-transform: scale(0) }
  27. 40% { -webkit-transform: scale(1.0) }
  28. }
  29. @keyframes sk-bouncedelay {
  30. 0%, 80%, 100% {
  31. -webkit-transform: scale(0);
  32. transform: scale(0);
  33. } 40% {
  34. -webkit-transform: scale(1.0);
  35. transform: scale(1.0);
  36. }
  37. }