Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <p>
  see this viz live at 
  <a href="http://resonances.space/" target="_blank">
    resonances.space
  </a>
</p>
<div class="scene">
  <div class="trampoline">
    <div class="support support1"></div>
    <div class="support support2"></div>
    <div class="support support3"></div>
    <div class="support support4"></div>
    <div class="outerRing"></div>
    <div class="surface"></div>
  </div>
  <ul class="characters" id="characters">
    <!-- astronaut -->
    <li>
      <div class="char1">
        <div class="imprint"></div>
        <div class="astronaut">
          <div class="backpack"></div>
          <div class="suit">
            <div class="armGroup leftArmGroup">
              <div class="hand"></div>
              <div class="Arm"></div>
            </div>
            <div class="armGroup rightArmGroup">
              <div class="hand"></div>
              <div class="Arm"></div>
            </div>
            <div class="Leg leftLeg">
              <div class="legBend"></div>
              <div class="Boot leftBoot"></div>
            </div>
            <div class="Leg rightLeg">
              <div class="legBend"></div>
              <div class="Boot rightBoot"></div>
            </div>


            <div class="body">
              <div class="badge"></div>
              <div class="suitLine suitLine1"></div>
              <div class="suitLine suitLine2"></div>
              <div class="suitLine suitLine3"></div>
              <div class="suitLine suitLine4"></div>
            </div>
          </div>
          <div class="helmet">
            <div class="shieldGroup">
              <div class="shield"></div>
              <div class="glare1"></div>
            </div>
          </div>

        </div>
      </div>
    </li>

    <!-- alien -->
    <li>
      <div class="char2">
        <div class="imprint"></div>
        <div class="alien">
          <div class="body">
            <div class="arm leftArm"></div>
            <div class="arm rightArm"></div>
            <div class="foot leftFoot"></div>
            <div class="foot rightFoot"></div>
            <div class="torso"></div>
          </div>
          <div class="head">
            <div class="boomBoop">
              <div class="boom"></div>
              <div class="boop"></div>
            </div>
            <div class="ear leftEar"></div>
            <div class="ear rightEar"></div>
            <div class="face">
              <div class="eye leftEye"></div>
              <div class="eye rightEye"></div>
              <div class="mouth">
                <div class="lips"></div>
              </div>
            </div>
          </div>

        </div
      </div>
    </li>

    <!-- rover -->
    <li>
      <div class="char3">
        <div class="imprint"></div>
        <div class="rover">
          <div class="antenna"></div>
          <div class="body">
            <div class="lense"></div>
            <div class="main"></div>
            <div class="bolt"></div>
          </div>
          <div class="rig">
            <div class="wheel wheel1"></div>
            <div class="wheel wheel2"></div>
            <div class="wheel wheel3"></div>
            <div class="bracket bracket1"></div>
            <div class="bracket bracket2"></div>
            <div class="bracket bracket3"></div>
            <div class="bracket bracket4"></div>
            <div class="bracket bracket5"></div>
            <div class="bracket bracket6"></div>
            <div class="bracket bracket7"></div>
          </div>
        </div>
      </div>
    </li>
  </ul>
</div>
              
            
!

CSS

              
                /* ================================================== */
/* ================================================== */
/* ==========         Front Matter         ========== */   
/* ================================================== */
/* ================================================== */   
* { box-sizing:border-box; }

body {
  font-family: arial;
  text-align:center;
  color:#c9d6de;
  background:#1e2022;
  overflow-y:scroll;
  overflow-x:hidden;
  padding-top: 100px;
}

a{
  color: #00df76;
}

.scene{
  margin-left: auto;
  margin-right: auto;
  position: relative;
  border: 0px solid red;
  text-align: center;
  width: 400px;
}

.trampoline{
  position: absolute;
  border: 0px solid orange;
  width: 400px;
  margin: 0;
  text-align: center;
}

.trampoline .support{
  position: absolute;
  width: 12px;
  height: 40px;
  border-radius: 4px;
  border: 2px solid #2b2d2f;
}

.trampoline .support1{
  top: 226px;
  left: 25px;
}
.trampoline .support2{
  top: 258px;
  left: 125px;
}
.trampoline .support3{
  top: 258px;
  left: 313px;
}
.trampoline .support4{
  top: 226px;
  left: 413px;
}

.trampoline .surface{
  position: absolute;
  top: 200px;
  left: 35px;
  width: 380px;
  height: 60px;
  border-radius: 100%;
  border: 2px solid #2b2d2f;
  background: #1e2022;
}
.trampoline .outerRing{
  position: absolute;
  top: 195px;
  left: 25px;
  width: 400px;
  height: 70px;
  border-radius: 100%;
  border: 2px solid #2b2d2f;
  background: #1e2022;
}
 
.characters { 
  position: absolute;
  list-style:none; 
  margin: 0;
  padding-top: 100px;
  padding-bottom: 20px;
  border: 0px solid yellow;
  text-align: center;
  width: 400px;
}
    
.characters li {
   display:inline-block;
   vertical-align:bottom;
   text-align:center;
   width:100px;
   list-style:none;
   margin:0 auto;
   user-select:none;
}

/* ================================================== */
/* ================================================== */
/* ==========          Astronaut           ========== */   
/* ================================================== */
/* ================================================== */


/* ==========            Static            ========== */  
.astronaut {
  display:inline-block;
  width:64px;
  height:136px;
  padding:0px;
  border: 0px solid red; 
  text-align:center;
  position: relative;
  
  -moz-animation: astronautJump 1.2s infinite -12s;
  -webkit-animation: astronautJump 1.2s infinite -12s;
  animation: astronautJump 1.2s infinite -12s;  
}

.astronaut .backpack{
  width:60px; height:65px;
  border-radius:4px;
  border: 2px solid #c9d6de;  
  position: absolute;
  top: 10px;
  left: 2px;
  z-index: 5;
}

.astronaut .suit{
  width:64px; height:94px;
  border: 0px solid orange;  
  position: absolute;
  top: 42px;
  z-index: 5;
}
.astronaut .suit .Arm{
  width:16px; height:42px;
  border: 2px solid #c9d6de;
  background: #1e2022;
    position: absolute;
  top: 1px;
  border-radius:10px 10px 0px 0px;
}
.astronaut .suit .armGroup{
  position: absolute;
  width:16px; height:56px;
}
.astronaut .leftArmGroup{
  left: 0px;
  -moz-animation: astronautWaveL 1.2s infinite -12s;
  -webkit-animation: astronautWaveL 1.2s infinite -12s;
  animation: astronautWaveL  1.2s infinite -12s;
}
.astronaut .rightArmGroup{
  right: 0px;
  -moz-animation: astronautWaveR 1.2s infinite -12s;
  -webkit-animation: astronautWaveR 1.2s infinite -12s;
  animation: astronautWaveR 1.2s infinite -12s;
}

.astronaut .suit .armGroup .hand{
  width:16px; height:16px;
  position: absolute;
  top: 34px;
  border: 2px solid #c9d6de;
  border-radius: 16px;
  z-index; 1;
}

.astronaut .body{
  width:46px; height:52px;
  border: 2px solid #c9d6de;
  background: #1e2022;
  position: absolute;
  top: 0px;
  left: 9px;
  border-radius: 2px;
} 
.astronaut .body .badge{
  width:8px; height:8px;
  position: absolute;
  right: 4px;
  top: 4px;
  border:solid 2px #c9d6de;
  border-radius: 4px;
}
.astronaut .body .suitLine{
  width:46px; height:6px;
  position: absolute;
  left: -2px;
  border:solid 2px #c9d6de;
  border-color:#c9d6de #c9d6de transparent #c9d6de;
  border-radius: 80%/6px 6px 0 0;
}
.astronaut .body .suitLine1{
  top: 16px;
}
.astronaut .body .suitLine2{
  top: 23px;
}
.astronaut .body .suitLine3{
  top: 30px;
}
.astronaut .body .suitLine4{
  top: 37px;
}

.astronaut .Leg{
  width:21px; height:44px;
  border: 2px solid #c9d6de;
  background: #1e2022;
    position: absolute;
  top: 50px;
  border-radius:1px;
  
  -moz-animation: astronautTremble 1.2s infinite -12s;
  -webkit-animation: astronautTremble 1.2s infinite -12s;
  animation: astronautTremble 1.2s infinite -12s;
  animation-timing-function: cubic-bezier(.36,.07,.19,.97);
} 
.astronaut .leftLeg{
  left: 9px;
}
.astronaut .rightLeg{
  left: 34px;
}

.astronaut .Leg .legBend{
  width:12px; height:5px;  
  position: absolute;
  bottom: 18px;
  left: 2.5px;
  border:solid 2px #c9d6de;
  border-color:transparent transparent #c9d6de transparent;
  border-radius: 0px 0px 10px 10px;
}


.astronaut .Boot{
  width:21px; height:10px;  
  position: absolute;
  bottom: -2px;
  left: -2px;
  border:solid 2px #c9d6de;
  border-radius: 10px 10px 0 0;
}

.astronaut .shieldGroup{
  position: relative;
  -moz-animation: astronautLook 1.2s infinite -12s;
  -webkit-animation: astronautLook 1.2s infinite -12s;
  animation: astronautLook 1.2s infinite -12s;
}
.astronaut .shield{
  position: absolute;
  top:6px;
  left:6px;
  
  width: 34px;
  height: 34px;
  
  border-radius:  75% 18%;
  transform: rotate(45deg);
  border: 2px solid #c9d6de; 
}
/* */
.astronaut .glare1{
  position: absolute;
  top:11px;
  left:11px;
  
  width: 16px;
  height: 20px;
  
  border-radius:  100% 18%;
  transform: rotate(45deg);
  border-width: 2px;
  border-style: solid;
  border-color: transparent transparent transparent #c9d6de;
}
/* */

.astronaut .helmet{
  position: absolute;
  width:50px;
  height:50px;
  margin-left: 7px;
  border-radius:25px;
  border: 2px solid #c9d6de;
  background: #1e2022;
  z-index: 10;
}
.char1{
  position: relative;
}
.char1 .imprint{
  width:100px; height:30px;  
  position: absolute;
  top: 124px;
  left: 10px;
  border:solid 2px #2b2d2f;
  border-color:  transparent transparent #2b2d2f transparent;
  border-radius: 50%;
  
  -moz-animation: astronautImprint 1.2s infinite -12s;
  -webkit-animation: astronautImprint 1.2s infinite -12s;
  animation: astronautImprint 1.2s infinite -12s; 
}
@keyframes astronautImprint {
  0%, 100% {
    /* ease out (cubic) */
    height:30px;
    width:80px;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  25%, 50%, 75% {
    /* ease in (cubic) */
    height:00px;
    width:40px;
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}

/* ==========          Animation           ========== */

@-moz-keyframes astronautJump {
  0%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
@-webkit-keyframes astronautJump {
  0%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
}
@keyframes astronautJump {
  0%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    /* ease out (cubic) */
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  50% {
    -moz-transform: translateY(-60px);
    -ms-transform: translateY(-60px);
    -webkit-transform: translateY(-60px);
    transform: translateY(-60px);
    /* ease in (cubic) */
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}



@keyframes astronautWaveL {
  0%, 15%, 75%, 100% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: 10px 5px;
    /* ease out (cubic) */
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  40%, 60% {
    -moz-transform: rotate(160deg);
    -ms-transform: rotate(160deg);
    -webkit-transform: rotate(160deg);
    transform: rotate(160deg);
    transform-origin: 10px 5px;
    /* ease in (cubic) */
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}
@keyframes astronautWaveR {
  0%, 15%, 75%, 100% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: 6px 5px;
    /* ease out (cubic) */
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  40%, 60% {
    -moz-transform: rotate(-160deg);
    -ms-transform: rotate(-160deg);
    -webkit-transform: rotate(-160deg);
    transform: rotate(-160deg);
    transform-origin: 6px 5px;
    /* ease in (cubic) */
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}


@keyframes astronautLook {
  0%, 90%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    animation-timing-function: ease;
  }
  10%, 45% {
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    animation-timing-function: ease;
  }
  55%, 75% {
    -moz-transform: translateY(3px);
    -ms-transform: translateY(3px);
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
    animation-timing-function: ease;
  }
}


@keyframes astronautTremble {
  0%, 25%, 75%, 100% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: center top;
  }
  30%,  70% {
    -moz-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }
  35%, 65% {
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }
  40%, 50%, 60% {
    -moz-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
  }
  45%, 55% {
    -moz-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
  }
}

/* ================================================== */
/* ================================================== */
/* ==========            Alien             ========== */   
/* ================================================== */
/* ================================================== */
.alien {
  display:inline-block;
  width:64px;
  margin-top:46px;
  height:90px;
  padding:0px;
  border: 0px solid red; 
  text-align:center;
  position: relative;
  
  -moz-animation: alienJump 0.9s infinite -12s;
  -webkit-animation: alienJump 0.9s infinite -12s;
  animation: alienJump 0.9s infinite -12s; 
}

.alien .head{
  width:64px; height:54px;
  position: absolute;
  top: 0px;
  z-index: 5;
}
.alien .face{
  width:56px; height:40px;
  border: 2px solid #c9d6de;  
  background: #1e2022;
  position: absolute;
  bottom: 0px;
  left: 4px;
  border-radius:100%;
  z-index: 5;
}
.alien .boom{
  width:18px; height:20px;
  border-width: 2px;
  border-style: solid;
  border-color:  #c9d6de transparent transparent #c9d6de  ;
  position: absolute;
  top: 0px;
  left: 32px;
  border-radius:2px;
  z-index: 5;
  transform: rotate(15deg);
}
.alien .boop{
  width:12px; height:12px;
  border: 2px solid #c9d6de;  
  position: absolute;
  background: #1e2022;
  top: 0px;
  right: 6px;
  border-radius:100%;
  z-index: 5;
}
.alien .boomBoop{
  -moz-animation: alienBoomWobble 0.9s infinite -12s;
  -webkit-animation: alienBoomWobble 0.9s infinite -12s;
  animation: alienBoomWobble 0.9s infinite -12s; 
}

.alien .head .ear{
  width:14px; height:14px;
  border: 2px solid #c9d6de;  
  position: absolute;
  background: #1e2022;
  top: 18px;
  border-radius:100%;
  z-index: 5;
  -moz-animation: alienHeadTilt 0.9s infinite -12s;
  -webkit-animation: alienHeadTilt 0.9s infinite -12s;
  animation: alienHeadTilt 0.9s infinite -12s; 
}
.alien .head .leftEar{
  left: 0px;
}
.alien .head .rightEar{
  right: 0px;
}

.alien .head .face .eye{
  width:9px; height:9px;
  border: 2px solid #c9d6de;  
  position: absolute;
  background: #1e2022;
  top: 9px;
  border-radius:100%;
  z-index: 5; 
  
  -moz-animation: alienLookUp 0.9s infinite -12s;
  -webkit-animation: alienLookUp 0.9s infinite -12s;
  animation: alienLookUp 0.9s infinite -12s; 
}
.alien .head .face .leftEye{
  left: 11px;
}
.alien .head .face .rightEye{
  right: 11px;
}
.alien .head .face .mouth{
  position: absolute;
  bottom: 7px;
  -moz-animation: alienLookUp 0.9s infinite -12s;
  -webkit-animation: alienLookUp 0.9s infinite -12s;
  animation: alienLookUp 0.9s infinite -12s; 
}
.alien .head .face .mouth .lips{
  width:28px; height:18px;  
  position: absolute;
  bottom: 0px;
  left: 12px;
  border:solid 2px #c9d6de;
  border-color:transparent transparent #c9d6de transparent;
  border-radius: 100%;
  
  -moz-animation: alienPurse 0.9s infinite -12s;
  -webkit-animation: alienPurse 0.9s infinite -12s;
  animation: alienPurse 0.9s infinite -12s; 
  
}

.alien .body{
  width: 64px; height:60px;  
  position: absolute;
  bottom: 0px;
}

.alien .body .torso{
  width:30px; height:50px;  
  position: absolute;
  bottom: 0px;
  left: 17px;
  border:solid 2px #c9d6de;
  background: #1e2022;
  border-radius: 100% 100% 96% 96%;
}

.alien .body .arm{
  width:22px; height:27px;  
  position: absolute;
  border:solid 2px #c9d6de;
  border-radius: 100%;
}
.alien .body .leftArm{
  top: 24px;
  left: 10px;
}
.alien .body .rightArm{
  top: 24px;
  right: 10px;
}

.alien .body .foot{
  width:18px; height:8px;  
  position: absolute;
  bottom: 0px;
  border:solid 2px #c9d6de;
  border-radius: 8px 8px 3px 3px;
}
.alien .body .leftFoot{
  left: 14px;
  -moz-animation: alienKickL 0.9s infinite -12s;
  -webkit-animation: alienKickL 0.9s infinite -12s;
  animation: alienKickL 0.9s infinite -12s; 
}
.alien .body .rightFoot{
  right: 14px;
  -moz-animation: alienKickR 0.9s infinite -12s;
  -webkit-animation: alienKickR 0.9s infinite -12s;
  animation: alienKickR 0.9s infinite -12s; 
}

.char2{
  position: relative;
}
.char2 .imprint{
  width:100px; height:30px;  
  position: absolute;
  top: 124px;
  left: 10px;
  border:solid 2px #2b2d2f;
  border-color:  transparent transparent #2b2d2f transparent;
  border-radius: 50%;
  
  -moz-animation: alienImprint 0.9s infinite -12s;
  -webkit-animation: alienImprint 0.9s infinite -12s;
  animation: alienImprint 0.9s infinite -12s; 
}
@keyframes alienImprint {
  0%, 100% {
    /* ease out (cubic) */
    height:30px;
    width:80px;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  25%, 50%, 75% {
    /* ease in (cubic) */
    height:00px;
    width:40px;
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}

/* ==========          Animation           ========== */
@keyframes alienJump {
  0%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    /* ease out (cubic) */
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  50% {
    -moz-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    /* ease in (cubic) */
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}

@keyframes alienKickL {
  0%, 25%, 75%, 100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  30%,  70% {
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
  35%, 65% {
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
  40%, 50%, 60% {
    -moz-transform: translateY(3px);
    -ms-transform: translateY(3px);
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
  }
  45%, 55% {
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -webkit-transform: translateY-3px);
    transform: translateY(-3px);
  }
}

@keyframes alienKickR {
  0%, 25%, 75%, 100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  30%,  70% {
    -moz-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
  }
  35%, 65% {
    -moz-transform: translateY(2px);
    -ms-transform: translateY(2px);
    -webkit-transform: translateY(2px);
    transform: translateY(2px);
  }
  40%, 50%, 60% {
    -moz-transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
  }
  45%, 55% {
    -moz-transform: translateY(3px);
    -ms-transform: translateY(3px);
    -webkit-transform: translateY(3px);
    transform: translateY(3px);
  }
}

@keyframes alienPurse {

  0%, 70%, 100% {
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
    
    width:28px; height:18px; 
  }
  50% {
    -moz-transform: translate(8px,0);
    -ms-transform: translate(8px,0);
    -webkit-transform: translate(8px,0);
    transform: translate(8px,0);
    
    width:12px; height:0px; 

  }
  
}


@keyframes alienBoomWobble {
  0%, 70%,  100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(5px);
    -ms-transform: translateY(5px);
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
}
@keyframes alienLookUp {
  0%, 70%,  100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }
}
@keyframes alienHeadTilt {
  0%, 70%,  100% {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
  50% {
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    -webkit-transform: translateY(1px);
    transform: translateY(1px);
  }
}


/* ================================================== */
/* ================================================== */
/* ==========            Rover             ========== */   
/* ================================================== */
/* ================================================== */
.rover {
  display:inline-block;
  width:64px;
  margin-top:46px;
  height:78px;
  padding:0px;
  text-align:center;
  position: relative;
  
  -moz-animation: roverJump 0.6s infinite -12s;
  -webkit-animation: roverJump 0.6s infinite -12s;
  animation: roverJump 0.6s infinite -12s;  
}
.rover .antenna{
  width:0px; height:38px;
  position: absolute;
  top: 0px;
  right: 4px;
  border: 2px solid;
  border-color: transparent #c9d6de transparent transparent ;
  
  -moz-animation: roverWave 0.6s infinite -12s;
  -webkit-animation: roverWave 0.6s infinite -12s;
  animation: roverWave 0.6s infinite -12s;
}
.rover .body{
  width:64px; height:26px;
  position: absolute;
  top: 36px;
  border: 0px solid green;
}
.rover .body .lense{
  width:12px; height:12px;
  position: absolute;
  top: 7px;
  left: 0px;
  border:solid 2px #c9d6de;
  border-radius: 2px;
}
.rover .body .main{
  width:58px; height:26px;
  position: absolute;
  top: 0px;
  left: 6px;
  border:solid 2px #c9d6de;
  border-radius: 2px;
  background: #1e2022;
}
.rover .body .bolt{
  width:12px; height:12px;
  position: absolute;
  top: 5px;
  left: 15px;
  border:solid 2px #c9d6de;
  border-radius: 2px;
  background: #1e2022;
  border-radius: 6px;
}
.rover .rig{
  width:64px; height:35px;
  position: absolute;
  bottom: 0px;
}
.rover .rig .wheel{
  width:14px; height:14px;
  position: absolute;
  bottom: 0px;
  border:solid 2px #c9d6de;
  border-radius: 7px 7px 7px 7px;
  
  -moz-animation: roverSquish 0.6s infinite -12s;
  -webkit-animation: roverSquish 0.6s infinite -12s;
  animation: roverSquish 0.6s infinite -12s;  
}
.rover .rig .wheel1{
  left: 7px;
}
.rover .rig .wheel2{
  left: 29px;
}
.rover .rig .wheel3{
  right: 0px;
}

.rover .bracket1{
  width:0px; height:17px;
  position: absolute;
  top: 13px;
  left: 10px;
  border: 2px solid;
  border-color: transparent #c9d6de transparent transparent ;
  border-radius: 2px;
}
.rover .bracket2{
  width:0px; height:18px;
  position: absolute;
  top: 12px;
  left: 34px;
  border: 2px solid;
  transform: rotate(10deg);
  border-color: transparent #c9d6de transparent transparent ;
  border-radius: 2px;
}
.rover .bracket3{
  width:0px; height:18px;
  position: absolute;
  top: 12px;
  left: 52px;
  border: 2px solid;
  transform: rotate(-10deg);
  border-color: transparent #c9d6de transparent transparent;
  border-radius: 2px;
}
.rover .bracket4{
  width:18px; height:0px;
  position: absolute;
  top: 13px;
  left: 37px;
  border: 2px solid;
  border-color: #c9d6de transparent transparent transparent ;
  border-radius: 2px;
}
.rover .bracket5{
  width:15px; height:0px;
  position: absolute;
  transform: rotate(10deg);
  top: 5px;
  left: 19px;
  border: 2px solid;
  border-color: #c9d6de transparent transparent transparent ;
  border-radius: 2px;
}
.rover .bracket6{
  width:20px; height:0px;
  position: absolute;
  transform: rotate(25deg);
  top: 10px;
  left: 29px;
  border: 2px solid;
  border-color: #c9d6de transparent transparent transparent ;
  border-radius: 2px;
}
.rover .bracket7{
  width:16px; height:0px;
  position: absolute;
  transform: rotate(-55deg);
  top: 9px;
  left: 10px;
  border: 2px solid;
  border-color: #c9d6de transparent transparent transparent ;
  border-radius: 2px;
}


.char3{
  position: relative;
}
.char3 .imprint{
  width:100px; height:30px;  
  position: absolute;
  top: 124px;
  left: 10px;
  border:solid 2px #2b2d2f;
  border-color:  transparent transparent #2b2d2f transparent;
  border-radius: 50%;
  
  -moz-animation: roverImprint 0.6s infinite -12s;
  -webkit-animation: roverImprint 0.6s infinite -12s;
  animation: roverImprint 0.6s infinite -12s; 
}
@keyframes roverImprint {
  0%, 100% {
    /* ease out (cubic) */
    height:30px;
    width:80px;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  25%, 50%, 75% {
    /* ease in (cubic) */
    height:00px;
    width:40px;
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}

/* ==========          Animation           ========== */
@keyframes roverJump {
  0%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    /* ease out (cubic) */
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }
  50% {
    -moz-transform: translateY(-40px);
    -ms-transform: translateY(-40px);
    -webkit-transform: translateY(-40px);
    transform: translateY(-40px);
    /* ease in (cubic) */
    animation-timing-function: cubic-bezier(0.550, 0.055, 0.675, 0.190);
  }
}
@keyframes roverSquish {
  0%,10%, 95%,100% {
    border-radius: 7px 7px 4px 4px;
  }
  40%, 85% {
    border-radius: 7px 7px 7px 7px;
  }
}
@keyframes roverWave {
  0%, 10%, 90%, 100% {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    transform-origin: center bottom;
  }
  30%,  70% {
    -moz-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    transform: rotate(-1deg);
  }
  35%, 65% {
    -moz-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }
  40%, 50%, 60% {
    -moz-transform: rotate(-4deg);
    -ms-transform: rotate(-4deg);
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
  }
  45%, 55% {
    -moz-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
  }
}


              
            
!

JS

              
                
              
            
!
999px

Console