/*
 *  Usage:
 *
 *    <div class="sk-wandering-cubes">
 *      <div class="sk-cube sk-cube1"></div>
 *      <div class="sk-cube sk-cube2"></div>
 *    </div>
 *
 */
.sk-wandering-cubes {
  margin: 40px auto;
  width: 40px;
  height: 40px;
  position: relative; }
  .sk-wandering-cubes .sk-cube {
    background-color: #333;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-wanderingCube 1.8s ease-in-out -1.8s infinite both; }
  .sk-wandering-cubes .sk-cube2 {
    animation-delay: -0.9s; }

@keyframes sk-wanderingCube {
  0% {
    transform: rotate(0deg); }
  25% {
    transform: translateX(30px) rotate(-90deg) scale(0.5); }
  50% {
    /* Hack to make FF rotate in the right direction */
    transform: translateX(30px) translateY(30px) rotate(-179deg); }
  50.1% {
    transform: translateX(30px) translateY(30px) rotate(-180deg); }
  75% {
    transform: translateX(0) translateY(30px) rotate(-270deg) scale(0.5); }
  100% {
    transform: rotate(-360deg); } }

/*# sourceMappingURL=4-wandering-cubes.css.map */
