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 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.

Quick-add: + add another resource

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.

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.

            
              <body>
<div class="anishhead">
    <div class="hair">
        <div class="hairfarleft"></div>
        <div class="hairtopone"></div>
        <div class="hairtoptwo"></div>
        <div class="hairtopthree"></div>
        <div class="hairtopfour"></div>
        <div class="hairtopfive"></div>
        <div class="hairtopsix"></div>
        <div class="hairnearleft"></div>
        <div class="hairnearright"></div>
        <div class="hairfarright"></div>
    </div>
	   <div class="face">
		  <div class="ears"></div>
          <div class="eyebrowleft"></div>
          <div class="eyebrowright"></div>
		  <div class="eyeleft">
            <div class="irisleft"></div>
            <div class="pupilleft"></div>
          </div>
          <div class="eyeright">
            <div class="irisright"></div>
            <div class="pupilright"></div>
          </div>
		  <div class="nosebottom"></div>
          <div class="nosetop"></div>
		  <div class="beard">
              <div class="moustache"></div>
		      <div class="mouth"></div>
          </div>
	   </div>
    </div>
            
          
!
            
              body {
    background: rgba(0,0,0,.6);
}

.anishhead {
    position: relative;
    margin: 5% 10%;
    border-radius: 10px;
    height: 400px;
    width: 300px;
    padding: 20px;
    float: left;
}

.face {
    position: relative;
    background-color: rgb(167,111,47);
    margin-left: 20px;
    border-bottom-left-radius: 130px;
    border-bottom-right-radius: 130px;
    border-top-left-radius: 130px;
    border-top-right-radius: 130px;
    border-bottom-width: 100px;
    height: 380px;
    width: 250px;
    border: 1px solid;
    border-color: rgb(118,83,51);
    border-bottom-width: 10px;
    border-left-width: 2px;
    border-right-width: 2px;
    z-index: 9;
    margin-top: 20px;
}

.hair {
    position: absolute;
    background-color:;
    width: 50%;
    height: 17%;
    margin-left: 20px;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 90px;
    border-bottom-right-radius: 90px;
    border-color: rgb(29,18,14);
    z-index: 10;
}

.hairfarleft {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 10px;
    margin-top: 0px;
    border-style: solid;
    border-width: 150px 100px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(8deg);
    /* IE */
    -ms-transform: rotate(8deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(8deg);
}

.hairnearleft {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 20px;
    margin-top: 45px;
    border-style: solid;
    border-width: 80px 260px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(25deg);
    /* IE */
    -ms-transform: rotate(25deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(25deg);
}

.hairtopone {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 40px;
    margin-top: 30px;
    border-style: solid;
    border-width: 50px 230px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(31deg);
    /* IE */
    -ms-transform: rotate(31deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(31deg);
}

.hairtoptwo {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 70px;
    margin-top: 25px;
    border-style: solid;
    border-width: 50px 190px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(31deg);
    /* IE */
    -ms-transform: rotate(31deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(31deg);
}

.hairtopthree {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 100px;
    margin-top: 22px;
    border-style: solid;
    border-width: 50px 180px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(32deg);
    /* IE */
    -ms-transform: rotate(32deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(32deg);
}

.hairtopfour {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 120px;
    margin-top: 37px;
    border-style: solid;
    border-width: 30px 160px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(45deg);
    /* IE */
    -ms-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(45deg);
}

.hairtopfive {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 160px;
    margin-top: 25px;
    border-style: solid;
    border-width: 30px 110px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(45deg);
    /* IE */
    -ms-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(45deg);
}

.hairtopsix {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 180px;
    margin-top: 58px;
    border-style: solid;
    border-width: 10px 110px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(5deg);
    /* IE */
    -ms-transform: rotate(5deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(5deg);    
}

.hairnearright {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 0px;
    margin-top: 40px;
    border-style: solid;
    border-width: 100px 270px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(30deg);
    /* IE */
    -ms-transform: rotate(30deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(30deg);
}

.hairfarright {
    position: absolute;
    height: 0px;
    width: 0px;
    margin-left: 0px;
    margin-top: 40px;
    border-style: solid;
    border-width: 80px 290px 0 0;
    border-color: rgb(16,16,14) transparent transparent transparent;
    transform: rotate(15deg);
    /* IE */
    -ms-transform: rotate(15deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(15deg);
}

.eyebrowleft {
    position: absolute;
    height: 30px;
    width: 70px;
    border-top-style: groove;
    border-top-color: black;
    border-radius: 50%;
    border-top-width: 20px;
    margin-top: 120px;
    margin-left: 35px;
        transform: rotate(-15deg);
    /* IE */
    -ms-transform: rotate(-15deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(-15deg);
}

.eyebrowright {
    position: absolute;
    height: 30px;
    width: 70px;
    border-top-style: groove;
    border-top-color: black;
    border-radius: 50%;
    border-top-width: 20px;
    margin-top: 120px;
    margin-left: 145px;
        transform: rotate(15deg);
    /* IE */
    -ms-transform: rotate(15deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(15deg);
}

.eyeleft {
    position: absolute;
    background-color: whitesmoke;
    border: 1px solid black;
    height: 70px;
    width: 50px;
    margin-top: 150px;
    margin-left: 50px;
    border-bottom-left-radius: 40%;
    border-bottom-right-radius: 40%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.eyeright {
    position: absolute;
    background-color: whitesmoke;
    border: 1px solid black;
    height: 70px;
    width: 50px;
    margin-top: 150px;
    margin-left: 150px;
    border-bottom-left-radius: 40%;
    border-bottom-right-radius: 40%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.irisleft {
    position: absolute;
    background-color: saddlebrown;
    border: 1px solid black;
    height: 35px;
    width: 25px;
    margin-top: 32px;
    margin-left: 12px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.irisright {
    position: absolute;
    background-color: saddlebrown;
    border: 1px solid black;
    height: 35px;
    width: 25px;
    margin-top: 32px;
    margin-left: 12px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.pupilleft {
    position: absolute;
    background-color: black;
    border: 1px solid black;
    height: 20px;
    width: 15px;
    margin-top: 45px;
    margin-left: 17px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.pupilright {
    position: absolute;
    background-color: black;
    border: 1px solid black;
    height: 20px;
    width: 15px;
    margin-top: 45px;
    margin-left: 17px;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.nosetop {
    position: absolute;
    height: 20px;
    width: 40px;
    border-top-style: groove;
    border-top-color: rgb(137,87,56);
    border-radius: 50%;
    border-top-width: 5px;
    margin-top: 240px;
    margin-left: 106px;
        transform: rotate(180deg);
    /* IE */
    -ms-transform: rotate(180deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(180deg);
}

.nosebottom {
    position: absolute;
    height: 20px;
    width: 50px;
    border-top-style: groove;
    border-top-color: rgb(137,87,56);
    border-radius: 50%;
    border-top-width: 5px;
    margin-top: 230px;
    margin-left: 100px;
        transform: rotate(1deg);
    /* IE */
    -ms-transform: rotate(1deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(1deg);
}

.beard {
    position: relative;
    margin-left: -1px;
    margin-top: 50px;
    border-radius: 50%;
    height: 250px;
    width: 253px;
    border-bottom-width: 130px;
    border-bottom-style: solid;
    border-color: rgba(10,10,10, 0);
    z-index: 9;
}

.moustache {
    position: absolute;
    height: 20px;
    width: 100px;
    border-top-style: groove;
    border-top-color: rgb(20,20,20);
    border-radius: 50%;
    border-top-width: 10px;
    margin-top: 220px;
    margin-left: 75px;
        transform: rotate(1deg);
    /* IE */
    -ms-transform: rotate(1deg);
/* Chrome, Safari, Opera */
    -webkit-transform: rotate(1deg);    
}

.mouth {
    position: absolute;
    height: 50px;
    width: 80px;
    border-top-style: solid;
    border-top-color: rgb(255,255,255);
    border-radius: 50%;
    border-top-width: 40px;
    margin-top: 190px;
    margin-left: 86px;
        transform: rotate(180deg);
    /* IE */
    -ms-transform: rotate(180deg);
    /* Chrome, Safari, Opera */
    -webkit-transform: rotate(180deg);
}
            
          
!
999px
Loading ..................

Console