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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

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

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div class="header">
  <h1 class="title">Codevember <span class="number"> #9 </span></h1>
  <h2 class="type">Green</h2>
  <div class="social">
		<a href="https://rominamartin.github.io/" class="social"><img src="https://image.flaticon.com/icons/svg/25/25231.svg" alt="github"></img></a>
		<a href="https://twitter.com/rominamartinlib" class="social"><img src="https://i.imgsafe.org/43/431dd07874.png" alt="twitter"></img></a>
  </div>
</div>

<div class="content">
  <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 -75 300 300"><g id="rightFoot" fill="#232322"><path d="M160.3 210.6l1.5-2c2.2-3 4-6.3 4.9-9.2.4-1.4.6-2.7.6-3.8 0-1-.3-1.8-.6-2.5-.4-.6-1-1.3-1.9-2-.9-.6-2.1-1.2-3.6-1.7-2.9-1-6.5-1.5-10.3-1.6h-2.7c-1 0-2-.9-2-2s.8-2.1 1.9-2.1h3c4 .3 8 1 11.4 2.2 1.7.6 3.2 1.4 4.5 2.4 1.2 1 2.1 2 2.7 3.2.6 1.2.9 2.6.9 4a16 16 0 0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.7 0 0 0-1.5.6c-1 .4-2 .8-3 1l-2.6.7-2.3.4-2.3.2-1.3.1c-1 0-1.7-.6-1.8-1.4 0-1 .7-1.7 1.6-1.7z"/><path fill="#C6AC40" d="M163.5 180.7c-11.2 17.2-82.4 22.2-100-.7-4.7-6.2-8-14.9-10.2-25.9-1.4-7-2.4-15-3-24l124.9-2.2-.7 11.2c-1.5 17.4-4.8 32-11 41.6z"/><path opacity=".5" fill="#A58037" d="M149.2 185.2c-20.8 6.7-45.4 8-64.9-4.9-16.6-9.6-18-32-16.3-50.5l-17.7.3c.6 9 1.6 17 3 24 2.2 11 5.5 19.7 10.2 25.9 17.6 22.9 88.8 18 100 .7 4.1-6.4 7-15 8.8-25-4.4 12.5-9.8 24.4-23 29.5z"/><path opacity=".5" fill="#A58037" d="M174.5 139c-9.3 3.5-17.7-4.6-17.7-4.6a27 27 0 0 1-22.9 11.7c-9-.5-9.2-6.5-9-8.2l-1.4 10.9c-.3 2.4-3.5 3.2-4.8 1.2-2.8-4.5 1.2-13.9 1.2-13.9-13.7-.7-15.5 25.4-31.4 26.6-15.9 1.1-21.3-13.9-21.3-13.9-5.2 3.6-10 5-13.9 5.3-1.4-7-2.4-15-3-24l124.9-2.2-.7 11.2z"/><path fill="#A6D146" d="M159 131.1c-1.4-1-3.2-.9-4.4.1l-.7.8c-12.5 17.3-28 6-31.4 3-9.6-6.3-15.9 4-15.9 4-15.4 31-37.3 11-34.8 1-33.2 25.6-36.8-18.5-21.6-21-16-18.3 6.5-28.4 6.5-28.4-14.4-28 24.2-51.9 38.2-39.2 11.7-17 36.7-.9 29.5 12.3 6.2-8.2 16.8-6.5 23-1.2 3.8 3.2 6 7.8 4.7 12.2v.2c10.5-.7 16.4 2.7 19.1 7.4 4.6 7.8.7 19-3.9 20.5 11.5.4 12.4 12.8 12.4 12.8 2 18.3-14.5 20.2-20.7 15.5z"/><path opacity=".3" fill="#4BAF1C" d="M109.6 130.8c-9 3.4-12.9 17.3-22.5 17.7-11.8.8-15-13.8-12.2-23.5-5.4 8-16.4 19-22.4 8.3-3.1-5.6 3.8-14.7 12.6-17.4-4.5.8-9 .3-11.6-4.4-1.8-4.7-.3-9.8 5.7-12.3 6.6-1.2 11-1.2 16.3 1.8-5.7-5.9-12.1-13-13-20.6-1-7.6 4.4-15.6 11-20 7.7-5.1 20.6-9.9 27.1.4a11.4 11.4 0 0 1 8.6-11.7c5.3-1.3 10.9 0 14.5 4.6l1 .7c-4.2-9.7-20.8-16-29.8-3-14-12.7-52.6 11.2-38.2 39.2 0 0-22.5 10.1-6.5 28.4-15.2 2.5-11.6 46.6 21.6 21-2.5 10 19.4 30 34.8-1 0 0 6.3-10.3 15.9-4 3 2.6 14.8 11.3 26 2.6-17 10-21.1-13.6-39-6.8z"/><path fill="#D11515" stroke="#232322" stroke-miterlimit="10" d="M145 162.6c.3 14-14.4 12.1-18.3 10.5-2-.7-4-2.8-5.4-5.5-2.7-6.7 4.8-9 6.7-4.7 2 4.5 2.3 9.9 5 10.7 7.9 1.3 12.2-4 12-11z"/><path fill="#070707" d="M117.7 155.4c0 2.5-2.1 4.6-4.8 4.6-2.7 0-5-1.9-5-4.4 0-2.5 2.1-4.5 4.8-4.6 2.7 0 5 2 5 4.4zM160.3 154.3c0 2.5-2.1 4.5-4.8 4.6-2.7 0-5-2-5-4.4 0-2.5 2.1-4.6 4.8-4.6 2.7 0 5 2 5 4.4z"/><path fill="#A6D146" d="M124.7 133.4c-1.5 5.6 7.7 15.5-.3 16.5-5.6.6-6.9-12.5.3-16.5z"/><path fill="#B9DD58" d="M120 80c4.1-3.4 10-2.7 13.7 1 3.6 3.8 4.3 9.7 1.1 14a12 12 0 0 1-6.4 4c-1 .2-6.4 1.4-5-1.2.3-.8 2-1.2 2.8-1.6 1.1-.6 2.3-1.3 3.2-2.2 2-1.8 3-4.4 2.1-7.1a8 8 0 0 0-5.6-5.3c-1.6-.3-3.1-.1-4.7.2-.5.2-1 .2-1.4-.2-.4-.5-.3-1.3.2-1.7z"/><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9.6 9.6 0 0 0 8 3.7c3.4 0 7-1.5 9.6-4.2a15 15 0 0 0 4.2-10.2c0-3-1-6-3-7.8-3-2.8-7.3-3-11.3-3.3-4-.3-8.5-1.4-10.3-5.2 5 2.8 12 1.3 16-3.4 3.5-4 4.1-8.6 3.5-13.3 4.6 7.8.7 19-3.9 20.5 11.5.4 12.4 12.8 12.4 12.8 2 18.3-14.5 20.2-20.7 15.5z"/><path opacity=".3" fill="#B58E48" d="M116.9 105.9c-2.7 10.2-15.2 4.4-15.2 4.4-2.5 7.4-9 5.1-9 5.1 4-2.3 7-5.2 8.1-9.2 7 7 13.5 1.7 16.1-.3z"/><g id="chip"><path fill="#E5C738" d="M113.6 92.5c-3.2-1.4-6-2-8.7-2-5.5 0-9.5 3.1-12 9.7-7.4-2.4-14.1-2.1-19.8 1.9L23.9 61.3C19 56.4 34.4 32.8 51.4 17.5c6-5.3 12-9.6 17.5-11.8 12.9-4.8 17 0 18.4 6l26.3 80.8z"/><path opacity=".3" fill="#B58E48" d="M30.8 57.3c-2.9-4.7 5.7-22 13-32.2-13.7 14.5-24 32-19.9 36.2L73 102.1c.7-.6 1.5-1 2.3-1.4-15.7-14.8-34.2-27-44.6-43.4z"/><path fill="#E5C738" d="M105 123.5l-12.4-8.1c4-2.3 7.1-5.2 8.2-9.2 7 7 13.5 1.7 16.1-.3 0 0 5.4 29.2-12 17.6z"/><path fill="#F4D556" d="M113.6 92.5c-3.2-1.4-6-2-8.7-2-7.6-24.7-24.4-80-30.3-80.6-7.2-.7-22.3 7-23.1 7.5C57.3 12.2 63.4 8 68.9 5.7c12.9-4.8 17 0 18.4 6l26.3 80.8z"/><path fill="#C6AC40" d="M60.2 26.8c-4.3 1-4.8 6.7-4 10.3 1 4 4.9 6.7 8.9 6.8.8 0 .8-1 .2-1.2-3-1.2-5.3-3.4-6.4-6.4-1.1-3.3 1-6 1.7-9.1 0-.3-.2-.5-.4-.4z" opacity=".6"/><path fill="#C6AC40" d="M59.5 41.5c-3.9 4-2 10.9 3.9 11.5.6 0 .8-.9.3-1.2-3.4-1.8-5-5.9-2.8-9.2.5-.9-.7-1.8-1.4-1.1zM72.6 45.2c-2.3-1-3.9 1.6-4.6 3.4-1.1 2.6 0 5.6 1.6 7.7C73 60.5 82.2 58 80.3 52c-.2-.8-1.2-.7-1.5 0-1.3 3.4-5.3 5-7.5 1.5-1-1.5-1-3.4-.3-5 .5-1 1.4-1.9 1.7-3l-.1-.3zM40 49.2c-5.3 5.8-1.3 13 5.1 15.7 3.6 1.6 6.6.6 8.7-2.6 1.7-2.8 2-6.1-.4-8.6-.3-.3-1 0-.9.6.6 1.8.1 4.2-.6 6-1.4 3.1-4.2 3-7 1.7-4-2-7.2-7.7-3.8-11.7.6-.8-.4-1.8-1.1-1.1zM57 59.7c-1 2.5.3 5.5 2.8 6.6 1.3.5 2.7.5 3.8-.4 1-.7 1.3-2.2.5-3.2-.5-.5-1.1 0-1.2.4 0 .5-.8.7-1.2.8-.5.2-1-.1-1.4-.4a3 3 0 0 1-1-3.2c.4-1.4-1.7-2-2.3-.6zM77.4 68.7c-3.6.8-7.5 1.9-9.8 5-2.3 3.2-2.9 6.6-1 10.1 2.7 5.6 14.1 7.5 14.9-.4 0-.2-.4-.3-.4 0-2.4 8-13 1.7-13-4.3.1-4.8 5.8-7.7 9.7-9 .8-.4.5-1.6-.4-1.4z" opacity=".6"/><path fill="#C6AC40" d="M81.5 79.8c-1.3 0-1.7 1.5-1.5 2.6.2 1.9 1.4 3.3 2.9 4.3s4 1.8 5.7.8a3.2 3.2 0 0 0 1.2-3.9c-.1-.4-.8-.3-.8.2-.1 1.2-1.6 1.4-2.5 1.4-1.1 0-2.2-.9-3-1.5-.6-.6-1-1.2-1.3-2l-.4-1.7-.3-.2z" opacity=".6"/></g></g></svg>
  
</div>
            
          
!

CSS

            
              $titleColor: #757780;
$numberColor: #f3d455;
$nameColor: #a5d045;
$backgroundColor: #f6f4b6;

body {$titleColor: #757780;
$numberColor: #f3d455;
$nameColor: #a5d045;
$backgroundColor: #f6f4b6;

body {
  background: $backgroundColor;
  overflow: hidden;
  font-family: "Quicksand";
}

.header {
  position: absolute;
  left: 10px;
  top: 10px;
  h1,
  h2 {
    margin: 0;
  }

  h1 {
    color: $titleColor;
  }
  .number {
    color: $numberColor;
  }
  .type {
    color: $nameColor;
  }
  .social a img {
    margin-top: 10px;
    height: 1.5em;
  }
}

.content {
  width: 50%;
  position: absolute;
  bottom: 0px;
  left: 25%;
}

.content {
  animation: swing ease-in 2s infinite alternate;
}

#rightArm,
#leftArm {
  animation: armSwing ease-in 2s infinite alternate;
  transform-origin: left;
}

#leftArm {
  transform-origin: right;
}

#rightFoot,
#leftFoot {
  animation: armSwing ease-in 2s infinite alternate;
  transform-origin: top;
}

@keyframes armSwing {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(2deg);
  }
}

@keyframes swing {
  0% {
    transform: translateX(-5px);
  }
  25% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}

  background: $backgroundColor;
  overflow: hidden;
  font-family: "Quicksand";
}

.header {
  position: absolute;
  left: 10px;
  top: 10px;
  h1, h2 {margin: 0}
  
  h1 {color: $titleColor;}
  .number {color: $numberColor;}
  .type { color: $nameColor; }
  .social a img { 
    margin-top: 10px; 
    height: 1.5em; 
  }
}

.content {
  width: 60%;
  position: absolute;
  bottom: 0px;
  left: 25%;
}

.content {
  animation: swing ease-in 2s infinite alternate;
}

#rightArm, #leftArm {
  animation: armSwing ease-in 2s infinite alternate;
  transform-origin: left;
}

#leftArm {
  transform-origin: right;
}

#rightFoot, #leftFoot {
  animation: armSwing ease-in 2s infinite alternate;
  transform-origin: top;
}

@keyframes armSwing {
   0% { transform: rotate(0deg);}
  25% { transform: rotate(2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(2deg); }
}

@keyframes swing {
  0% { transform: translateX(-5px)}
  25% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

            
          
!

JS

            
              
            
          
!
999px

Console