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.

            
              <div class="background">
  
  <div class="gunther__foot gunther__foot--left">
    <div class="toe toe--left"></div>
    <div class="toe toe--middle"></div>
    <div class="toe toe--right"></div>
  </div>
  <div class="gunther__foot gunther__foot--right">
    <div class="toe toe--left"></div>
    <div class="toe toe--middle"></div>
    <div class="toe toe--right"></div>
  </div>
  
  <div class="gunther__arm gunther__arm--left"></div>
  
  <div class="gunther__body">
    
    <div class="gunther__inner"></div>
    
    <div class="eyes">
      <div class="eyes__eye eyes__eye--left"></div>
      <div class="eyes__eye eyes__eye--right"></div>
    </div>
    
    <div class="beak">
      <div class="beak__bottom"></div>
      <div class="beak__top"></div>
    </div>
    
  </div> <!-- .body -->
  
  <div class="gunther__arm gunther__arm--right"></div>
  
</div>
            
          
!
            
              $stk-clr: #9b5802;
$skin-clr: #ffefef;

.background {
  align-items: center;
  background-color: #35be8b;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.gunther__body {
  background-color: $stk-clr;
  border-radius: 30vh;
  border-bottom-left-radius: 15vh;
  border-bottom-right-radius: 15vh;
  height: 80vh;
  position: relative;
  width: 50vh;
}

.gunther__inner {
  background-color: $skin-clr;
  border-radius: 30vh;
  border-bottom-left-radius: 18vh;
  border-bottom-right-radius: 5vh;
  height: 74vh;
  position: absolute;
  bottom: 1vh; left: 1vh;
  width: 38vh;
}

.eyes {
  height: 15vh;
  position: absolute;
  top: 18vh; left: -5vh;
  transform: rotate(3deg);
  width: 40vh;
}

.eyes__eye {
  background-color: $stk-clr;
  border-radius: 50%;
  height: 15vh;
  position: absolute;
  left: 0;
  width: 15vh;
  &::before {
    background-color: $skin-clr;
    border-radius: 50%;
    border-bottom-left-radius: 2.6vh;
    border-bottom-right-radius: 2.6vh;
    content: '';
    display: block;
    height: 6vh;
    position: absolute;
    top: 1.6vh; left: .6vh;
    transform: rotate(-36deg);
    width: 10vh;
  }
  &::after {
    background-color: $skin-clr;
    border-radius: 50%;
    border-top-left-radius: 2vh;
    border-top-right-radius: 2vh;
    content: '';
    display: block;
    height: 5vh;
    position: absolute;
    bottom: 1.6vh; right: .6vh;
    transform: rotate(-36deg);
    width: 8vh;
  }
}

.eyes__eye--right {
  left: auto; right: 0;
}

.beak {
  height: 15vh;
  position: absolute;
  top: 30vh; left: -13vh;
  width: 28vh;
}

.beak__top {
  // display: none;
  border-color: transparent $stk-clr transparent transparent;
  border-style: solid;
  border-width: 7vh 28vh 2vh 0;
  position: absolute;
  top: 0;
  transform: rotate(-10deg);

  &::before {
    background-color: $stk-clr;
    border-radius: 50%;
    content: '';
    display: block;
    height: 9vh;
    position: absolute;
    top: -7vh; right: -33vh;
    width: 9vh;
  }
}

.beak__bottom {
  // display: none;
  border-color: transparent $stk-clr transparent transparent;
  border-style: solid;
  border-width: 6vh 26vh 2vh 0;
  position: absolute;
  top: 6vh; left: 4vh;
  transform: rotate(-30deg);

  &::before {
    background-color: $stk-clr;
    border-radius: 50%;
    content: '';
    display: block;
    height: 9vh;
    position: absolute;
    top: -7vh; right: -31vh;
    width: 10vh;
  }
  &::after {
    border-color: transparent $skin-clr transparent transparent;
    border-style: solid;
    border-width: 4vh 18vh 1vh 0;
    content: '';
    display: block;
    // height: 8vh;
    position: absolute;
    top: -5vh; left: 8vh;
    // width: 8vh;
  }
}

.gunther__arm {
  background-color: $stk-clr;
  border-top: .6vh solid $stk-clr;
  border-right: 1vh solid $skin-clr;
  border-bottom: 0;
  border-radius: 50%;
  border-top-left-radius: 30%;
  border-bottom-left-radius: 50%;
  height: 23vh;
  width: 13vh;
}

.gunther__arm--left {
  border: 0;
  transform: rotate(36deg) translate(18vh, 11vh);
}

.gunther__arm--right {
  transform: rotate(36deg) translate(-2vh, 28vh);
}

.gunther__foot {
  height: 10vh;
  position: absolute;
  top: 84vh;
  width: 15vh;
}

.gunther__foot--left {
  margin-left: 12vh;
}
.gunther__foot--right {
  margin-left: 36vh;
  top: 86vh;
  transform: rotate(-10deg);
}

.toe {
  background: $skin-clr;
  border-bottom: 1vh solid $stk-clr;
  border-radius: 50%;
  height: 6vh;
  position: absolute;
  width: 8vh;
}
.toe--left {
  border-left: 1vh solid $stk-clr;
  left: 0;
}
.toe--middle {
  top: 3vh; left: 4vh;
}
.toe--right {
  border-right: 1vh solid $stk-clr;
  top: 2vh; left: 10vh;
}



            
          
!
999px
Loading ..................

Console