cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

              *, *:before, *:after {  box-sizing: border-box; }
html { width: 100%; height: 100%; background: #9862a9;}
  font-size: 250%;
  width: 8em;
  height: 8em;
  border-radius: 100%;
  background: #4bb09e ;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  margin: auto;

$orange: #ecaa2c;
$fill: #292925;

div {
  height: 0;
  width: 0;
  position: relative;
  margin-left: 2.2em;
    display: block;
    position: absolute;

// Neck
  margin-top: 1.7em;
  border-style: solid;
  border-width: 0 0.9em 1.05em 1.35em;
  border-color: transparent transparent #1e1e1b transparent;
  z-index: 3;
  box-shadow: -0.2em 0.4em 0.3em -0.4em rgba(0,0,0,0);
  width: 0;
    border-style: solid;
    border-width: 0.25em 0.4em 0 0.1em;
    border-color: $orange transparent transparent transparent;
    top: 0.8em;
    left: 0.8em;
  // Head
    border-style: solid; 
    border-width: 0 0.4em 0.44em 1em;
    border-color: transparent transparent #292925 transparent;
    left: -0.1em;
    top: 0.18em;

// Belly
  top: -0.35em;
  left: 1.75em;
  z-index: 0;
  border-bottom: 1.1em solid #fff;
  border-right: 1.1em solid transparent;
  width: 1em;
    /* Fill ugly rendering, but not needed */
    -1.45em 0 0 -0.4em $fill,
    -1.4em 0.12em 0 -0.4em $fill,
    -1.34em 0.22em 0 -0.4em $fill,
    -1.38em 0.6em 0 -0.25em $fill,
    -1.25em 1.1em 0 -0.2em $fill,
    /* Normal */
    -1em 0 0 0 #fff,
    -0.3em 1em 0 0.3em #fff,
    -0.3em 1.8em 0 0.3em #fff;
  // Foot
    bottom: -3.5em;
    left: 0.1em;
    border-style: solid;
    border-width: 0 0.4em 0.3em 0.7em;
    border-color: transparent transparent $orange transparent;
  // Bottom
    bottom: -3.5em;
    left: -0.7em;
    border-top: 0.3em solid #fff;
    border-right: 0.7em solid transparent; 
    width: 1.8em;

// Wing
  z-index: 2;
  width: 0.6em;
  transform: skew(-20deg) rotate(-31deg);
  left: 1.35em;
  top: -1.35em;
  border-left: 0.3em solid #292925;
  border-top: 1.4em solid transparent;
  border-bottom: 1.75em solid transparent;
  box-shadow: -0.6em 0 0 #292925;
    border-style: solid;
    border-width: 0.5em 0.3em 1.5em;
    border-color: transparent #aaa transparent transparent;
    transform: skew(20deg) rotate(29deg);
    left: -0.75em;
    top: -0.2em;
  // Flap
    transform: skew(20deg) rotate(18deg);
    border-style: solid;
    border-width: 1em 0 0.55em 0.4em;
    border-color: transparent transparent transparent #1e1e1b;
    top: 0.3em;
    left: -0.34em;
Loading ..................