spinner_double_bounce.styl 839 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. @import 'nib'
  2. // From https://github.com/tobiasahlin/SpinKit
  3. .sk-spinner-double-bounce {
  4. width: 40px;
  5. height: 40px;
  6. position: relative;
  7. margin: 100px auto;
  8. }
  9. .sk-double-bounce1, .sk-double-bounce2 {
  10. width: 100%;
  11. height: 100%;
  12. border-radius: 50%;
  13. background-color: #333;
  14. opacity: 0.6;
  15. position: absolute;
  16. top: 0;
  17. left: 0;
  18. -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  19. animation: sk-bounce 2.0s infinite ease-in-out;
  20. }
  21. .sk-double-bounce2 {
  22. -webkit-animation-delay: -1.0s;
  23. animation-delay: -1.0s;
  24. }
  25. @-webkit-keyframes sk-bounce {
  26. 0%, 100% { -webkit-transform: scale(0.0) }
  27. 50% { -webkit-transform: scale(1.0) }
  28. }
  29. @keyframes sk-bounce {
  30. 0%, 100% {
  31. transform: scale(0.0);
  32. -webkit-transform: scale(0.0);
  33. } 50% {
  34. transform: scale(1.0);
  35. -webkit-transform: scale(1.0);
  36. }
  37. }