|
| 1 | +.sk-cube-grid { |
| 2 | + position: relative; |
| 3 | + top: 50%; |
| 4 | + width: 40px; |
| 5 | + height: 40px; |
| 6 | + margin: auto; |
| 7 | +} |
| 8 | + |
| 9 | +.sk-cube-grid .sk-cube { |
| 10 | + width: 33%; |
| 11 | + height: 33%; |
| 12 | + float: left; |
| 13 | + -webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; |
| 14 | + animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; |
| 15 | +} |
| 16 | + |
| 17 | +.sk-cube-grid .sk-cube1 { |
| 18 | + -webkit-animation-delay: 0.2s; |
| 19 | + animation-delay: 0.2s; |
| 20 | +} |
| 21 | + |
| 22 | +.sk-cube-grid .sk-cube2 { |
| 23 | + -webkit-animation-delay: 0.3s; |
| 24 | + animation-delay: 0.3s; |
| 25 | +} |
| 26 | + |
| 27 | +.sk-cube-grid .sk-cube3 { |
| 28 | + -webkit-animation-delay: 0.4s; |
| 29 | + animation-delay: 0.4s; |
| 30 | +} |
| 31 | + |
| 32 | +.sk-cube-grid .sk-cube4 { |
| 33 | + -webkit-animation-delay: 0.1s; |
| 34 | + animation-delay: 0.1s; |
| 35 | +} |
| 36 | + |
| 37 | +.sk-cube-grid .sk-cube5 { |
| 38 | + -webkit-animation-delay: 0.2s; |
| 39 | + animation-delay: 0.2s; |
| 40 | +} |
| 41 | + |
| 42 | +.sk-cube-grid .sk-cube6 { |
| 43 | + -webkit-animation-delay: 0.3s; |
| 44 | + animation-delay: 0.3s; |
| 45 | +} |
| 46 | + |
| 47 | +.sk-cube-grid .sk-cube7 { |
| 48 | + -webkit-animation-delay: 0s; |
| 49 | + animation-delay: 0s; |
| 50 | +} |
| 51 | + |
| 52 | +.sk-cube-grid .sk-cube8 { |
| 53 | + -webkit-animation-delay: 0.1s; |
| 54 | + animation-delay: 0.1s; |
| 55 | +} |
| 56 | + |
| 57 | +.sk-cube-grid .sk-cube9 { |
| 58 | + -webkit-animation-delay: 0.2s; |
| 59 | + animation-delay: 0.2s; |
| 60 | +} |
| 61 | + |
| 62 | +@-webkit-keyframes sk-cubeGridScaleDelay { |
| 63 | + 0%, 70%, 100% { |
| 64 | + -webkit-transform: scale3D(1, 1, 1); |
| 65 | + transform: scale3D(1, 1, 1); |
| 66 | + } |
| 67 | + 35% { |
| 68 | + -webkit-transform: scale3D(0, 0, 1); |
| 69 | + transform: scale3D(0, 0, 1); |
| 70 | + } |
| 71 | +} |
| 72 | + |
| 73 | +@keyframes sk-cubeGridScaleDelay { |
| 74 | + 0%, 70%, 100% { |
| 75 | + -webkit-transform: scale3D(1, 1, 1); |
| 76 | + transform: scale3D(1, 1, 1); |
| 77 | + } |
| 78 | + 35% { |
| 79 | + -webkit-transform: scale3D(0, 0, 1); |
| 80 | + transform: scale3D(0, 0, 1); |
| 81 | + } |
| 82 | +} |
0 commit comments