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.

            
              <section class="stan">
  <div class="hat">
  	<div class="pompom"></div>
  </div>
  <div class="hat-roll"></div>	
  <div class="hat-roll-curver">
  	<div class="eye">
  	  <div class="iris"></div>
  	  <div class="iris-up"></div>
  	</div>
  	<div class="closed_eye">
  	  <div class="closed_eyelid"></div>
  	</div> 
  </div>	
  <div class="head">
	  <div class="mouth"></div>  
      <div class="opened_mouth"></div>       
  </div>
  <div class="body">
	  	<div class="armpits"></div>
	    <div class="ziper"></div>  
	    <div class="arm">
     		<div class="hand"></div>
    	</div>
  </div>
  <div class="leg">
    <div class="feet"></div>  
  </div> 
</section>
<section class="credits">By <a href="https://twitter.com/sachanacar">Sacha Nacar</a></section>

            
          
!
            
              section{
	position:absolute;
	top:20%; left:30%;
}

.stan .hat{
	 height:110px;
	 width:240px;
	 -webkit-border-radius: 9999px 9999px 0 0;
	 -moz-border-radius: 9999px 999px 0 0;
	 -ms-border-radius:9999px 999px 0 0;
	 -o-border-radius:9999px 999px 0 0;
	 border-radius: 9999px 9990px 0 0;
	 background:#536597;
	 
	 -webkit-transform:rotate(-5deg);
	 -moz-transform:rotate(-5deg);
	 -ms-transform:rotate(-5deg);
	 -o-transform:rotate(-5deg);	
	 transform:rotate(-5deg);
	 z-index: 1 !important;	
	 margin-bottom: -130px;
	 margin-left: 20px !important;
}

.stan .pompom{
	position:absolute;
	top: -15px;
	left: 100px;
	width:25px;
	height:25px;
	background:#db062c;

	-webkit-border-radius:100%;	
	-moz-border-radius:100%;
	-ms-border-radius:100%;	
	-o-border-radius:100%;	
	border-radius:100%;	
}
.stan .hat-roll{
	position: absolute;
	width: 250px;
	height: 75px;
	margin-left: 20px;
	margin-top: 90px;
	background: #db062c;
	border-radius: 100% / 70%;
	-webkit-transform:rotate(-5deg);
	-moz-transform:rotate(-5deg);
	-ms-transform:rotate(-5deg);
	-o-transform:rotate(-5deg);	
	transform:rotate(-5deg);
	z-index: 2;
}
.stan .hat-roll-curver{
	position: absolute;
	width: 250px;
	height: 75px;
	margin-left: 20px;
	margin-top: 110px;
	background: #ffedcb;
	border-radius: 100% / 80%;
	-webkit-transform:rotate(-5deg);
	-moz-transform:rotate(-5deg);
	-ms-transform:rotate(-5deg);
	-o-transform:rotate(-5deg);	
	transform:rotate(-5deg);
	z-index: 2;
}


.stan .head{
	position:absolute;
	width:250px;
	height:250px;
	background:#ffedcb;
	z-index:-1;
	margin-left: 20px;
	margin-top: 20px;
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	-ms-border-radius:100%;	
	-o-border-radius:100%;	
	border-radius:100%;	
}

.stan .eyebrow{
	position: absolute;
	margin-left: 20px;
	width: 200px;
	height: 30px;
	background:#ffedcb;
	z-index: 4;
	
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	-ms-border-radius:100%;	
	-o-border-radius:100%;	
	border-radius:100%;	
}
.stan .eye{
	position:absolute;
	top:0px;
	left:60px;
	width:60px;
	height:80px;
	background-color:#FFF;
	z-index:3;

	-webkit-border-bottom-right-radius:5px 5px;	
	-moz-border-bottom-right-radius:5px 5px;	
	-ms-border-bottom-right-radius:5px 5px;	
	-o-border-bottom-right-radius:5px 5px;			
	border-bottom-right-radius:5px 5px;		
	
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	-ms-border-radius:100%;			
	-o-border-radius:100%;	
	border-radius:100%;
			
	-webkit-transform:rotate(25deg);
	-moz-transform:rotate(25deg);
	-ms-transform:rotate(25deg);
	-o-transform:rotate(25deg);	
	transform:rotate(25deg);		
}
.stan .eye:after{
	content:"";
	position:absolute;
	display:block;
	top: -25px;
	right:-62px;
	width:60px;
	height:80px;
	
	background-color:#FFF;

	-webkit-border-radius:100%;
	-moz-border-radius:100%;		
	-ms-border-radius:100%;
	-o-border-radius:100%;
	border-radius:100%;
				
	-webkit-transform:rotate(-50deg);
	-moz-transform:rotate(-50deg);
	-ms-transform:rotate(-50deg);	
	-o-transform:rotate(-50deg);	
	transform:rotate(-50deg);		
}
.stan .iris{
	position:absolute;
	margin-top: 30px;
	right:10px;
	width:7px;
	height:7px;
	background:#000;
	
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	-ms-border-radius:100%;
	-o-border-radius:100%;					
	border-radius:100%;	
	
	-webkit-animation: iris_up 8s infinite step-start 0s;
	-moz-animation: iris_up 8s infinite step-start 0s;
	-o-animation: iris_up 8s infinite step-start 0s;
	-ms-animation: iris_up 8s infinite step-start 0s;
	animation: iris_up 8s infinite step-start 0s;
	
}
.stan .iris:after{
	content:"";
	position:absolute;
	margin-top: -10px;
	left:25px;
	width:7px;
	height:7px;
	background:#000;
	z-index:1;
	
	-webkit-border-radius:100%;
	-moz-border-radius:100%;			
	-ms-border-radius:100%;
	-o-border-radius:100%;
	border-radius:100%;			
}

@-webkit-keyframes iris_up{
	0%{ margin-top: 20px; }
	20%{ margin-top: 20px; }
	8%{ margin-top: 20px; }

}	

.stan .closed_eye{
	position:absolute;
	top:0px;
	left:60px;
	width:60px;
	height:80px;
	background-color:#ffedcb;
	border:1px solid #eed6a8;
	z-index:3;
	opacity:0;
	
	-webkit-border-bottom-right-radius:5px 5px;	
	-moz-border-bottom-right-radius:5px 5px;	
	-ms-border-bottom-right-radius:5px 5px;	
	-o-border-bottom-right-radius:5px 5px;			
	border-bottom-right-radius:5px 5px;		
	
	-webkit-border-radius:100%;
	-moz-border-radius:100%;
	-ms-border-radius:100%;			
	-o-border-radius:100%;	
	border-radius:100%;
			
	-webkit-transform:rotate(25deg);
	-moz-transform:rotate(25deg);
	-ms-transform:rotate(25deg);
	-o-transform:rotate(25deg);	
	transform:rotate(25deg);		

	-webkit-animation: close_eyes 4s infinite step-start 0s;
	-moz-animation: close_eyes 4s infinite step-start 0s;
	-o-animation: close_eyes 4s infinite step-start 0s;
	-ms-animation: close_eyes 4s infinite step-start 0s;
	animation: close_eyes 4s infinite step-start 0s;
}
@-webkit-keyframes close_eyes{
	0%{ opacity: 0; }
	5%{ opacity: 1; }
	8%{ opacity: 0; }

}	
.stan .closed_eye:after{
	content:"";
	position:absolute;
	display:block;
	top:-25px;
	right:-62px;
	width:60px;
	height:80px;
	background-color:#ffedcb;
	border:1px solid #eed6a8;

	-webkit-border-radius:100%;
	-moz-border-radius:100%;		
	-ms-border-radius:100%;
	-o-border-radius:100%;
	border-radius:100%;
				
	-webkit-transform:rotate(-50deg);
	-moz-transform:rotate(-50deg);
	-ms-transform:rotate(-50deg);	
	-o-transform:rotate(-50deg);	
	transform:rotate(-50deg);	
	
	-webkit-animation: close_eyes 4s infinite step-start 0s;
	-moz-animation: close_eyes 4s infinite step-start 0s;
	-o-animation: close_eyes 4s infinite step-start 0s;
	-ms-animation: close_eyes 4s infinite step-start 0s;
	animation: close_eyes 4s infinite step-start 0s;
		
}
.stan .closed_eyelid{
	position:absolute;
	top:30px;
	left:0px;
	border-top:1px solid #eed6a8;
	width:60px;
	height:50px;
	border-radius:100%;	
	
}
.stan .closed_eyelid:after{
	content:"";
	position:absolute;
	top:-35px;
	left:70px;
	border-top:1px solid #eed6a8;
	width:60px;
	height:50px;
	border-radius:100%;
	z-index:3;
	
	-webkit-transform:rotate(-60deg);
	-moz-transform:rotate(-60deg);
	-ms-transform:rotate(-60deg);	
	-o-transform:rotate(-60deg);	
	transform:rotate(-60deg);
}

 
.stan .mouth{
    margin-top: 200px;
    position:relative;
    width:30px;
    height:25px;
    border-top:1px solid #000;
    border-left:1px solid #000;
    border-top-left-radius: 100%;
    margin-left:110px;
    -webkit-transform:rotate(-140deg);
    -moz-transform:rotate(-140deg);
    -ms-transform:rotate(-140deg);	
    -o-transform:rotate(-140deg);	
    transform:rotate(-140deg);
 
	 -webkit-animation: closes_mouth 8s infinite step-start 0s;
	 -moz-animation: closes_mouth 8s infinite step-start 0s;
	 -o-animation: closes_mouth 8s infinite step-start 0s;
	 -ms-animation: closes_mouth 8s infinite step-start 0s;
	 animation: closes_mouth 8s infinite step-start 0s;
	        
  }
    
.stan .opened_mouth{
    position:relative;
    margin-left: 110px;
    margin-top: -20px;
    width:20px;
    height:20px;
    border-radius: 100%;
	background-color: #000;
	z-index: 4;
	opacity: 0 !important;
  	-webkit-animation: open_mouth 8s infinite step-start 0s;
  	-moz-animation: open_mouth 8s infinite step-start 0s;
  	-o-animation: open_mouth 8s infinite step-start 0s;
  	-ms-animation: open_mouth 8s infinite step-start 0s;
  	animation: open_mouth 8s infinite step-start 0s;
  }
  @-webkit-keyframes open_mouth{
  	0%{ opacity: 0; }
  	20%{ opacity: 1; }
  	8%{ opacity: 0; }
  
  }
  @-webkit-keyframes closes_mouth{
  	0%{ opacity: 1; }
  	20%{ opacity: 0; }
  	8%{ opacity: 1; }
  
  }
.stan .body{
	position:relative;
	top:210px;
	left:65px;
	width:160px;
	height:200px;
	background:#8a4a3c;
	border:solid #8a4a3c;
	border-width:0 3px 0 0;
	z-index:-2;
	
	-webkit-border-top-right-radius:20px 120px;	
	-moz-border-top-right-radius:20px 120px;
	-ms-border-top-right-radius:20px 120px;
	-o-border-top-right-radius:20px 120px;		
	border-top-right-radius:20px 120px;	
	
	-webkit-border-bottom-right-radius:20px 120px;	
	-moz-border-bottom-right-radius:20px 120px;	
	-ms-border-bottom-right-radius:20px 120px;	
	-o-border-bottom-right-radius:20px 120px;				
	border-bottom-right-radius:20px 120px;	
	
	-webkit-transform:rotate(90deg);	
	-moz-transform:rotate(90deg);	
	-ms-transform:rotate(90deg);	
	-o-transform:rotate(90deg);			
	transform:rotate(90deg);	
}

.stan .armpits{
	position: absolute;
	width:70px; 
	height:190px;
	margin-top: 5px; 
  	background: #8a4a3c;
	z-index: 1;
}
.stan .ziper{
	position:absolute;
	top:100px;
	left:50px;
	width:110px;
	height:2px;
	background:#000;
	z-index:10;
}
.stan .arm{
	position:relative;
	top:135px;
	left:40px;
	width:50px;
	height:150px;
	background: #8a4a3c;
	border:solid #000;
	border-width:0 0 0 2px;
	
	-webkit-border-top-right-radius:40px 120px;
	-moz-border-top-right-radius:40px 120px;
	-ms-border-top-right-radius:40px 120px;
	-o-border-top-right-radius:40px 120px;		
	border-top-right-radius:40px 120px;
		
	-moz-border-bottom-right-radius:40px 120px;			
	-webkit-border-bottom-right-radius:40px 120px;	
	-ms-border-bottom-right-radius:40px 120px;	
	-o-border-bottom-right-radius:40px 120px;	
	border-bottom-right-radius:40px 120px;				

	-webkit-transform:rotate(110deg);
	-moz-transform:rotate(110deg);
	-ms-transform:rotate(110deg);
	-o-transform:rotate(110deg);
	transform:rotate(110deg);			
}
.stan .arm:after{
	content:"";
	position:absolute;
	display:block;
	top:75px;
	right:200px;
	width:50px;
	height:150px;
	background:#8a4a3c;
	border:solid #000;
	border-width:0 2px 0 0;
	
	
	-webkit-border-top-left-radius:40px 120px;
	-moz-border-top-left-radius:40px 120px;
	-ms-border-top-left-radius:40px 120px;
	-o-border-top-left-radius:40px 120px;			
	border-top-left-radius:40px 120px;
		
	-webkit-border-bottom-left-radius:40px 120px;	
	-moz-border-bottom-left-radius:40px 120px;		
	-ms-border-bottom-left-radius:40px 120px;	
	-o-border-bottom-left-radius:40px 120px;	
	border-bottom-left-radius:40px 120px;			
		
	-webkit-transform:rotate(-35deg);
	-moz-transform:rotate(-35deg);	
	-ms-transform:rotate(-35deg);
	-o-transform:rotate(-35deg);
	transform:rotate(-35deg);	
}
.stan .hand{
	position:absolute;
	top:-10px;
	left: -15px;
	width:55px;
	height:55px;
	background:#db062c;

	-webkit-border-radius:100%;	
	-moz-border-radius:100%;
	-ms-border-radius:100%;	
	-o-border-radius:100%;	
	border-radius:100%;	
}
.stan .hand:after{
	content:"";
	position:absolute;
	top:80px;
	left:-220px;
	width:55px;
	height:55px;
	background: #db062c;
	z-index:1;
		
	-webkit-border-radius:100%;			
	-moz-border-radius:100%;
	-ms-border-radius:100%;
	-o-border-radius:100%;		
	border-radius:100%;	
}
.stan .leg{
	position:relative;
	top:160px;
	left:54px;
	width:185px;
	height:50px;
	background:#536597;
	z-index:-3;
}
.stan .feet{
	position:absolute;
	top:50px;
	left:-5px;
	width:195px;
	height:10px;
	background:#000;

	-webkit-border-radius:15px;		
	-moz-border-radius:15px;
	-ms-border-radius:15px;
	-o-border-radius:15px;			
	border-radius:15px;
}

.credits{
  margin-top: 400px;
  float: left;
  margin-left: -200px;
  font-family: Helvetica;
  font-size: 1.3em;
  color: #999;
}

.credits a{
  font-family: Helvetica;
  color: #999;
}
            
          
!
999px
Loading ..................

Console