Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                
<div class="chilisBody">


  <div class="ears"></div>
  <div class="colitas"></div>


<div class="chilisHead">
<div class="eyeL"></div>
<div class="eyeR"></div>
<div class="glassL"></div>
<div class="glassR"></div>
<div class="stick1"></div>
<div class="stick2"></div>
<div class="mouth">
  <div class="tooth"></div>

</div>
<div class="chicks"></div>
<div class="hair"></div>





</div>
<div class="topR"></div>
<div class="topL"></div>


<div class="arms"></div>
<div class="legs"></div>
<div class="neck"></div>
<div class="dress">
  


  <div class="pocket"></div>
  <div class="shoes"></div>


</div>

<div class="calzonesL"></div>
<div class="calzonesR"></div>
<div class="hands"></div>


</div>
              
            
!

CSS

              
                *,*::before, *::after{
  margin:0;
  padding:0;
  box-sizing:border-box}

  body{
    position: absolute;

    background-color: lightseagreen;
    max-height: 100vmin;
        max-width: 100vmin;
    

  }
.chilisBody{
  transform: translate(30vw,20vh);

}
.chilisHead{
    position: relative;
    background-color: rgb(236, 212, 212);
height: 27vmin;
width: 30vmin;
border-radius: 50% / 40%  ;
margin: 10vmin;
overflow: hidden;
border-bottom: .1vmin solid rgb(160, 146, 146);
}

.eyeL{
position: absolute;
width: 4vmin;
height: 4vmin;
background-color: black;
border-radius: 50% ;

margin-top: 13vmin;
margin-left: 5vmin;
box-shadow: -.1vmin -.1vmin 0 .3vmin brown, -.3vmin -.2vmin .2vmin .9vmin white,-.8vmin -.8vmin 1.5vmin .8vmin;
}
.eyeL::after{
    content:" "; 
      position: absolute; 
      top: 1.6vmin; 
      right: 3.3vmin; 
      width: 1vmin; 
      height: 1vmin;
      border-radius: 50%;
      background-color:white;

}
.eyeL::before{
    content:" "; 
      position: absolute; 
      top: 1vmin; 
      right: 5.4vmin; 
      width: 1vmin; 
      color: black;
      background-color:black;
      box-shadow: -.1vmin -.1vmin .2vmin .1vmin,-.1vmin -.8vmin .2vmin .1vmin,-.1vmin -1.5vmin .2vmin .1vmin ;
      transform: rotate(25deg);
    }

    
.eyeR{
position: absolute;
width: 4vmin;
height: 4vmin;
background-color: black;
border-radius: 50% ;

margin-top: 13vmin;
margin-left: 20vmin;
box-shadow: -.1vmin -.1vmin 0 .3vmin brown, .1vmin -.2vmin .2vmin .9vmin white, .3vmin -.8vmin 1.5vmin .8vmin;
}
.eyeR::after{
    content:" "; 
      position: absolute; 
      top: 1.6vmin; 
      right: 3.3vmin; 
      width: 1vmin; 
      height: 1vmin;
      border-radius: 50%;
      background-color:white;

}
.eyeR::before{
    content:" "; 
      position: absolute; 
      top: .8vmin; 
      left: 5.4vmin; 
      width: 1vmin; 
      color: black;
      background-color:black;
      box-shadow: -.1vmin -.1vmin .2vmin .1vmin,-.1vmin -.8vmin .2vmin .1vmin,-.1vmin -1.5vmin .2vmin .1vmin ;
      transform: rotate(-25deg)
    }


    .glassL{

position: inherit;
      top: 9.5vmin; 
      right: -1.7vmin; 
      width: 10vmin; 
      height: 10vmin;
      border-radius: 25%;
      background-color:transparent;
      border: .5vmin solid black;
      z-index: 30;
      

    }

    .glassL::after{


        content:" "; 
      position: absolute; 
      top:-.5vmin; 
      right: -16.5vmin; 
      width: 10vmin; 
      height: 10vmin;
      border-radius: 25%;
      background-color:transparent;
      border: .5vmin solid black;
      
      


    }

    .stick1{

        position: inherit; 
      top: 2vmin; 
      right: 1.4vmin; 
      width: 3.3vmin; 
      height: .5vmin;
      background-color:black;
      transform: rotate(20deg)

    }
    .stick1::after{
        content:" "; 
      position: absolute; 
      top:-10vmin; 
      right: -29vmin; 
      width: 5.5vmin; 
      height: .5vmin;
      background-color:black;
      transform: rotate(-30deg)


}

.stick2{

    position: inherit;
      top: 2vmin; 
      right: -10.3vmin; 
      width: 9vmin; 
      height: 7vmin;
      border-radius: 50%;
      background-color:transparent;
      border-top: .5vmin solid black;
      border-left: .5vmin solid transparent;
      border-right: .5vmin solid transparent;


}

.stick2::after{

    content:" "; 
      position: absolute; 
      top: 5vmin; 
      left: 2.2vmin;
      width: 2vmin; 
      height: 1vmin;
      border-radius: 50%;
      background-color:transparent;
      border-top: .5vmin solid rgb(202, 179, 179);
     
}

.mouth{
    position: inherit;
      top: 4vmin; 
      right: -12.8vmin; 
      width: 4vmin; 
      height: 3vmin;
      border-radius: 0 0 60% 60%;
      background-color:rgb(184, 22, 22);
      overflow: hidden;
}


.tooth{
  position: absolute;
width: 1vmin;
height: 2vmin;
top: -1.1vmin; 
right: 1vmin; 
border-radius: 25%;
background-color: white;
    }

    .tooth::after{
      content: "";
  position: absolute;
width: 1vmin;
height: 2vmin;
top: .1vmin; 
right: 1vmin; 
border-radius: 25%;
background-color: black;
    }



.chicks{
    position: absolute;

      top: 19.3vmin; 
      right: 23vmin; 
      width: 23vmin; 
      height: 29vmin;
      border-radius: 50%;
      box-shadow: -1vmin -1vmin 3vmin 2vmin rgb(238, 150, 150),  38vmin 1vmin 3vmin 2vmin rgb(238, 150, 150);

      
}
.chicks::after{
    content:" "; 
      position: absolute; 
      top: 2vmin; 
      right: 3vmin; 
      width: .5vmin; 
      height: .5vmin;
      border-radius: 50%;
      background-color:rgb(203, 134, 134);
      box-shadow: 1.5vmin .5vmin rgb(203, 134, 134),21.5vmin .5vmin rgb(203, 134, 134),19.5vmin .5vmin rgb(203, 134, 134),19.5vmin 2vmin rgb(203, 134, 134),.5vmin 1.5vmin rgb(203, 134, 134),2.5vmin 1.5vmin rgb(203, 134, 134),18vmin 1.5vmin rgb(203, 134, 134);
}

.hair{
position:absolute;
      top: -13vmin; 
      right: -4.7vmin; 
      width: 40vmin; 
      height: 105vmin;
      border-top: 15vmin solid rgb(34, 9, 9);
      background-color:transparent;
      border-radius: 50%;
     
}

.hair::before{
position:absolute;
content: "";
      top: -2vmin; 
      right: 4vmin; 
      width: 31.5vmin; 
      height: 95vmin;
      border-top: 5vmin solid rgb(34, 9, 9);
      border-left: 5vmin solid transparent;
      border-right: 5vmin solid transparent;


      background-color:transparent;
      border-radius: 40%;

     
}

.hair::after{
position:absolute;
content: "";
      top: -2vmin; 
      right: 7vmin; 
      width: 25vmin; 
      height: 95vmin;
      border-top: 5vmin solid rgb(34, 9, 9);
      border-left: 5vmin solid transparent;
      border-right: 5vmin solid transparent;


      background-color:transparent;
      border-radius: 60%;

     
}




.ears{

  position: absolute;
  left: 29vmin;
  top:2vmin;
    background-color: rgb(236, 212, 212);
height: 5vmin;
width: 3vmin;
border-radius: 50% / 40%  ;
margin: 10vmin;
overflow: hidden;
box-shadow: -30.6vmin .1vmin rgb(236, 212, 212);

}

.colitas{
position: absolute;
left: 28.5vmin;
top:-5vmin;
  background-color: transparent;
  border-top: 5vmin solid  rgb(34, 9, 9);
  border-right: 2vmin solid  transparent;
  border-left: 1vmin solid  yellow;
  border-bottom: 1vmin solid transparent;

  height: 15vmin;
width: 15vmin;
border-radius: 50% ;
margin: 10vmin;

transform: rotate(14deg);
z-index: -2;

}
.colitas::after{
  content: "";
position: absolute;
left: -50vmin;
top:-14vmin;
  background-color: transparent;
  border-top: 5vmin solid  rgb(34, 9, 9);
  border-right: 2vmin solid  transparent;
  border-left: 1vmin solid  yellow;
  border-bottom: 1vmin solid transparent;

  height: 15vmin;
width: 15vmin;
border-radius: 50% ;
margin: 10vmin;

transform: rotate(225deg);

}


.neck{

position: absolute;
left: 12.5vmin;
top:14vmin;
  background-color: rgb(236, 212, 212);
height: 5vmin;
width: 5vmin;
border-radius: 50% ;
margin: 10vmin;
box-shadow: -2vmin 2vmin yellow,2vmin 2vmin yellow;
z-index: -1;
border-bottom: .1vmin solid rgb(160, 146, 146);

}

.dress{

position: relative;
left: 17vmin;
top:-15vmin;

z-index: -2;
border-bottom: .1vmin solid rgb(160, 146, 146);
border-radius: 2vmin;

width: 0;
    height: 0;
    border-left: 8vmin solid transparent;
    border-right: 8vmin solid transparent;
    border-bottom: 20vmin solid green;

}

.pocket{
    position: absolute;
      top: 15vmin; 
      right: -5.5vmin; 
      width: 3vmin; 
      height: 3vmin;
      border-radius: 0 0 60% 60%;
      background-color:yellow;
      transform: rotate(-12deg);

}


.topL{

  position: absolute;
  left: 20vmin;
  top:28vmin;
  border-radius: 50%;
  
  
  width: 0;
      height: 0;

width: 0;
    height: 0;
    border-left: 1.9vmin solid transparent;
    border-right: .7vmin solid transparent;
    border-bottom: 8vmin solid red;
    z-index: -1;
    transform: rotate(22deg);

}

.topR{

  position: absolute;
left: 27vmin;
top:28vmin;
border-radius: 50%;


width: 0;
    height: 0;
    border-left: 1.9vmin solid transparent;
    border-right: .7vmin solid transparent;
    border-bottom: 8vmin solid red;
    z-index: -1;
    transform: rotate(335deg);

}

.arms{

  position: absolute;
  left: 19vmin;
  top:28vmin;
  width: 1.2vmin;
    height: 10vmin;
    background-color: red;
    transform: rotate(35deg);
    z-index: -1;

}

.arms::after{

  content: "";

position: absolute;
left: 7vmin;
top:-7vmin;
width: 1.2vmin;
  height: 11vmin;

  background-color: red;
  transform: rotate(1000deg);
  
  z-index: -1;



}

.legs{

position: absolute;

  z-index: -4;
left: 21vmin;
    background-color: rgb(236, 212, 212);
height: 11vmin;
width: 3vmin;
border-bottom: 3vmin solid white;

}

.legs::after{

position: absolute;
content: "";
  z-index: -4;
left: 5vmin;
    background-color: rgb(236, 212, 212);
height: 11vmin;
width: 3vmin;
border-bottom: 3vmin solid white;


}

.calzonesL{ 

  position: absolute;

top:41.3vmin;
left: 20vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}
.calzonesL::before{ 

  content: "";
position: inherit;

top:-.1vmin;
left: 1.4vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}
.calzonesL::after{ 

content: "";
position: absolute;

top:-.1vmin;
left: 2.9vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}

.calzonesR{ 

position: absolute;

top:41.3vmin;
left: 25vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}
.calzonesR::before{ 

content: "";
position: inherit;

top:-.1vmin;
left: 1.4vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}
.calzonesR::after{ 

content: "";
position: absolute;

top:-.1vmin;
left: 2.9vmin;
background-color: white;
height: 1.5vmin;
width: 1.5vmin;
border-radius: 50%;
border: .1vmin solid rgb(160, 146, 146);
z-index: -3;

}


.hands{

  position: absolute;
  left: 6vmin;
  top:26vmin;
    background-color: rgb(236, 212, 212);
height: 2vmin;
width: 1.5vmin;
border-radius: 50% ;
margin: 10vmin;
box-shadow: 16.4vmin -1.4vmin rgb(236, 212, 212), -7.5vmin -27vmin 0 .5vmin yellow,23.5vmin -28vmin 0 .5vmin yellow;

}

.shoes{
  position: absolute;
      top: 25.5vmin; 
      right: .9vmin; 
      width: 3.1vmin; 
      height: 3vmin;
      border-radius: 0 0 60% 60%;
      background-color:black;
      box-shadow: 5vmin -.1vmin;

}
              
            
!

JS

              
                // +Ter
              
            
!
999px

Console