spinner_scaleout.styl 725 B

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