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.

            
              <!--face-->
<article id="face"> 
  <!--hr-adj-->
  <div class="hr-adj" id="hr-adj-1"></div>
  <div class="hr-adj" id="hr-adj-2"></div>
  <div class="hr-adj" id="hr-adj-3"></div>
  <!--hr-adj--> 
  <!--hair-->
  <div class="hair" id="hr-1"></div>
  <div class="hair" id="hr-2"></div>
  <!--hair--> 
  <!--eyebrows-->
  <div class="adjust" id="adj-1"></div>
  <div class="adjust" id="adj-2"></div>
  <div class="eyebrows" id="eye-br-1"></div>
  <div class="eyebrows" id="eye-br-2"></div>
  <!--eyebrows--> 
  <!--eyes-->
  <section class="eyes" id="eye1">
    <div class="corona" id="cor-1">
      <div class="iris"></div>
    </div>
  </section>
  <section class="eyes" id="eye2">
    <div class="corona" id="cor-2">
      <div class="iris"></div>
    </div>
  </section>
  <!--eyes--> 
  <!--beak-->
  <div id="beak"> </div>
  <!--beak--> 
  <!--dimples-->
  <div class="s-dimple" id="l-dimple"></div>
  <div class="b-dimple" id="bl-dimple"></div>
  <div class="s-dimple" id="r-dimple"></div>
  <div class="b-dimple" id="br-dimple"></div>
  <!--dimples--> 
  <!--chin-->
  <section id="chin"></section>
  <!--chin--> 
</article>
<!--face-->
            
          
!
            
              
*
{
	padding: 0px;
	margin: 0px
}

#ref
{
	position: absolute;
	z-index: 99;
	top: 0;
left0
}

#face
{
	width: 450px;
	height: 400px;
	background: #D4002B;
	margin: auto;
	margin-top: 16%;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #B50023;
	-webkit-box-shadow: 0 0 5px 0 #000
}

.hr-adj
{
	position: absolute;
	height: 55px;
	width: 80px;
	background: #D4002B;
	z-index: 15;
	margin-left: 150px;
	margin-top: 2px;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#hr-adj-2
{
	margin-left: 220px;
	margin-top: 2px;
}

#hr-adj-3
{
	height: 80px;
	width: 30px;
	margin-left: 190px;
	margin-top: -60px;
}

.hair
{
	width: 50px;
	height: 180px;
	background: #D4002B;
	position: absolute;
	border: 5px solid #B50023;
	-webkit-box-shadow: 0 0 5px 0 #000
}

#hr-1
{
	margin-top: -140px;
	margin-left: 150px;
	/*border-radius*/
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	-moz-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
}

#hr-2
{
	margin-top: -160px;
	margin-left: 200px;
	/*border-radius*/
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;
	-moz-transform: scale(1) rotate(-5deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(-5deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(-5deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(-5deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(-5deg) translate(0px, 0px) skew(0deg, 0deg);
}

.adjust
{
	height: 30px;
	width: 80px;
	position: absolute;
	z-index: 12;
}

#adj-1
{
	margin-left: 143px;
	margin-top: 69px;
	background: #D4002B;
	-moz-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(36deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(36deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(36deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(36deg) translate(0px, 0px) skew(0deg, 0deg);
}

#adj-2
{
	margin-left: 218px;
	margin-top: 69px;
	background: #D4002B;
	-moz-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(-36deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(-36deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(-36deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(-36deg) translate(0px, 0px) skew(0deg, 0deg);
}

.eyebrows
{
	position: absolute;
	border-style: solid;
	width: 0;
	height: 0;
}

#eye-br-1
{
	border-color: transparent transparent transparent #000;
	border-width: 30px 50px 15px 150px;
	margin-left: 80px;
	margin-top: 80px;
	z-index: 9;
	-moz-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
}

#eye-br-2
{
	border-color: transparent #000 transparent transparent;
	border-width: 30px 150px 15px 50px;
	margin-left: 160px;
	margin-top: 80px;
	z-index: 9;
	-moz-transform: scale(1) rotate(25deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(-25deg) translate(0px, 0px) skew(0deg, 0deg);
}

.eyes
{
	width: 140px;
	height: 140px;
	background: #AD0320;
	float: left;
	position: relative;
	margin-top: 75px;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#eye1 { margin-left: 70px }

#eye2 { margin-left: 20px }

.corona
{
	width: 130px;
	height: 130px;
	background: #FFF;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#cor-1 { float: right }

#cor-2 { float: left }

.iris
{
	width: 30px;
	height: 30px;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin: auto;
	background: #000;
	margin-top: 40%;
	-webkit-box-shadow: 0 0 5px 0 #000
}

#beak
{
	width: 150px;
	height: 150px;
	margin-top: 175px;
	margin-left: 145px;
	background: #FCCD00;
	position: absolute;
	-moz-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
	-o-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
	-ms-transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
	transform: scale(1) rotate(45deg) translate(0px, 0px) skew(0deg, 0deg);
	-webkit-border-radius: 20% 0 0 0;
	-webkit-box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.2)
}

.b-dimple
{
	width: 30px;
	height: 40px;
	margin-top: 155px;
	background: rgba(0,0,0,0.1);
	position: absolute;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
}

#bl-dimple { margin-left: 32px; }

#br-dimple { margin-left: 390px }

.s-dimple
{
	width: 20px;
	height: 30px;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	position: absolute;
	margin-top: 160px;
	background: rgba(0,0,0,0.1);
}

#l-dimple { margin-left: 10px }

#r-dimple { margin-left: 420px }

#chin
{
	width: 500px;
	height: 350px;
	background: #EAD2BA;
	/*border-radius*/
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	border-radius: 50%;
	margin: auto;
	margin-top: 225px;
	margin-left: -20px;
}

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

Console