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.

            
              <!-- TEMPLATE -->

 <div class="visible-box">
	 <div class="letter">B</div>
	 <div class="is-for">is for</div>
	 <div class="name">Beaver</div>
		<div class="beaver_upperbody color--gradient"></div>
		<div class="beaver_lowerbody color--gradient"></div>
		<div class="beaver_head head--tilt color--gradient"></div>
		<div class="eye"></div>
		<div class="eye pupil"></div>
		<div class="nose"></div>
		<div class="ear color--gradient"></div>
		<div class="teeth"></div>
		<div class="beaver_neck color--gradient"></div>
		<div class="beaver_hindleg color--gradient"></div>
		<div class="beaver_foreleg foreleg--tilt color--gradient"></div>
		<div class="beaver_paw foreleg--tilt"></div>
		<div class="paw_gap foreleg--tilt"></div>
		<div class="beaver_tail"></div>
		<div class="beaver_paw beaver--hindpaw"></div>
	
</div> <!-- END visible-box -->

            
          
!
            
              body {
	background-color: #CA1	
}
.visible-box { 
	width: 700px;
	height: 500px;
  background-color: #CA1;
	position: relative;
	z-index: -1;
	/* Children can be absolutely positioned relative to this box */
}

.letter {
	top: 15%;
	left: 10%;
	position: absolute;
	font-family: 'Bevan', cursive;
	font-size: 800%;
}

.name { /* tags should not be styled in BEM! */
	font-family: 'Bevan', cursive;
	font-size: 400%;
	position: absolute;
	top: 20%;
	left: 45%;
}

.is-for {
	font-family: 'Itim', cursive;
	font-size: 220%;
	position: absolute;
	top: 22%;
	left: 30%;
}

.beaver_head {
	width: 90px;
	height: 120px;
	border-radius: 50%  50%  50%  50%/ 60%   60%   40%  40%;
	position: absolute;
	top: 182px;
	left: 202px;
}

.beaver_upperbody { /* upper and lower could be one div */
	width: 170px;
	height: 100px;
	border-radius: 0px 500px 0px 0px;
	background-color: #422;
	position: absolute;
	top: 250px;
	left: 260px;
}

.beaver_lowerbody { /* could be one div with better border-radius */
	width: 150px;
	height: 100px;
	border-radius: 10px 0px 50px 0px;
	background-color: #422;
	position: absolute;
	top: 350px;
	left: 280px;
	z-index: 1;
}

.beaver_foreleg {
	width: 100px;
	height: 60px;
	background-color: #422;
	border-radius: 0px 50px 0px 60px; 
	position: absolute;
	top: 304px;
	left: 220px;
	z-index:1;
}

.beaver_hindleg {
	width: 100px;
	height: 90px;
	background-color: #422;
	position: absolute;
	top: 360px;
	left: 270px;
	border-radius: 100px 100px 0px 0px; 
	z-index:2;
}

.beaver_paw {
	width: 40px;
	height: 25px;
	border-radius: 20px;
	background-color: black;
	position: absolute;
	top: 285px;
	left: 210px;
}

.beaver--hindpaw {
	top: 425px;
	left: 240px;
}

.paw_gap {
	width: 92px;
	height: 26px;
	border-radius: 20px;
	background-color: #CA1;
	position: absolute;
	top: 265px;
	left: 180px;
	z-index: 3;
}

.beaver_tail {
	width: 170px;
	height: 50px;
	background-color: black;
	border-radius: 100px;
	position: absolute;
	top: 400px;
	left: 360px;
	z-index: 0;
}

.beaver_neck {
	width: 120px;
	height: 40px;
	background-color: pink;
	border-radius: 10px;
	position: absolute;
	top: 229px;
	left: 258px;
	transform: rotate(31deg);
	z-index:-1;
}

.eye {
	width: 12px;
	height: 12px;
	border-radius: 10px;
	background-color: white;
	position: absolute;
	top: 220px;
	left: 230px;
	z-index: 3;
}
.pupil {
	width: 8px;
	background-color: black;
}

.nose {
	width: 8px;
	height: 15px;
	background-color: black;
	border-radius: 50%;
	position: absolute;
	top: 225px;
	left: 186px;
}

.ear {
	width: 20px;
	height: 15px;
	background-color: black;
	border-radius: 50%;
	z-index: 4;
	position: absolute;
	left: 270px;
	top: 210px;
	background-color: #301;
}

.teeth {
	width: 5px;
	height: 11px;
	background-color: white;
	position: absolute;
	top: 245px;
	left: 190px;
	z-index: 3;
	transform: rotate(-12deg)
}
.head--tilt {
	transform: rotate(-80deg);	
}
 
.foreleg--tilt {
	transform: rotate(15deg);
}

.color--gradient {
	background: linear-gradient(to right, #301, #520);	
}
            
          
!
999px
Loading ..................

Console