ball-grid-pulse.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @keyframes ball-grid-pulse {
  2. 0% {
  3. transform: scale(1); }
  4. 50% {
  5. transform: scale(0.5);
  6. opacity: 0.7; }
  7. 100% {
  8. transform: scale(1);
  9. opacity: 1; } }
  10. .ball-grid-pulse {
  11. width: 57px; }
  12. .ball-grid-pulse > div:nth-child(1) {
  13. animation-delay: 0.21s;
  14. animation-duration: 1.52s; }
  15. .ball-grid-pulse > div:nth-child(2) {
  16. animation-delay: 0.03s;
  17. animation-duration: 1.36s; }
  18. .ball-grid-pulse > div:nth-child(3) {
  19. animation-delay: 0.75s;
  20. animation-duration: 0.95s; }
  21. .ball-grid-pulse > div:nth-child(4) {
  22. animation-delay: -0.09s;
  23. animation-duration: 0.62s; }
  24. .ball-grid-pulse > div:nth-child(5) {
  25. animation-delay: 0.36s;
  26. animation-duration: 0.92s; }
  27. .ball-grid-pulse > div:nth-child(6) {
  28. animation-delay: 0.65s;
  29. animation-duration: 1.06s; }
  30. .ball-grid-pulse > div:nth-child(7) {
  31. animation-delay: 0.69s;
  32. animation-duration: 0.92s; }
  33. .ball-grid-pulse > div:nth-child(8) {
  34. animation-delay: 0.78s;
  35. animation-duration: 1.15s; }
  36. .ball-grid-pulse > div:nth-child(9) {
  37. animation-delay: -0.17s;
  38. animation-duration: 0.91s; }
  39. .ball-grid-pulse > div {
  40. background-color: #55595c;
  41. width: 15px;
  42. height: 15px;
  43. border-radius: 100%;
  44. margin: 2px;
  45. animation-fill-mode: both;
  46. display: inline-block;
  47. float: left;
  48. animation-name: ball-grid-pulse;
  49. animation-iteration-count: infinite;
  50. animation-delay: 0; }