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.

            
              <!-- MESSY, HACKY CODE! Yuck! Clean it up! -->

<div class="visible-box">
	<div class="text"><big>T</big><p>is for </p></div>
	<span class="rand">Tiger</span>
		<div class="tiger">
			<div class="spots"></div>
			<div class="tiger__head-1 tiger--face-angle"></div>
			<div class="tiger__eyepatch tiger--gradient-2"></div>
			<div class="tiger--eye tiger--face-angle"></div>
			  <div class="tiger__nose-1 tiger--face-angle tiger--gradient"></div>
			<div class="tiger__nose-1 tiger--face-angle tiger__muzzle tiger--gradient-2"></div>
			
			<div class="tiger__head-2">
				<div class="stripes stripe-1 tiger--face-angle"></div>
				<div class="stripes stripe-2 tiger--face-angle"></div>
				 <div class="stripes stripe-3"></div>
			</div>
			
			<div class="tiger__ear"></div>
			
		</div> <!-- END TIGER -->
	  </div> <!-- END TIGER-HEAD -->
</div> <!-- END WRAPPER -->
	
	</div> <!-- END VISIBLE-BOX --> 

            
          
!
            
              /* NASTY, non-BEM compliant CSS! Yuck! */

body {background-color: #134}

.visible-box { 
	width: 700px;
	height: 600px;
	position: relative; 
	background-color: #134;
	z-index: 0;
	/* Children can be absolutely positioned relative to this box */
}

.text {
	position: relative;
	top: 5%;
	left: 20%;
}

big {
	position: absolute;
	top: 0%;
		font-family: 'Bowlby One', cursive;
	font-size: 900%;
	color: white;
}

p {
	position: absolute;
	left: 18%;
	font-size: 200%;
	color: white;
	font-family: 'Aladin', cursive;
}

.rand {
	position: absolute;
	top: 15%;
	left: 50%;
	font-family: 'Bowlby One', cursive;
	color: white;
	font-size: 500%;
}
.tiger__head-1 {
	width: 230px;
	height: 130px;
	border-radius: 150% 200px 80px 100px;
	position: absolute;
	top: 200px;
	left: 140px;
	background-color: orange;
/* 	opacity: .5; */

}

.tiger__head-2 {
	width: 200px;
	height: 330px;
	border-radius: 50px 100% 20px 10px;
	background-color: orange;
	border-left: 30px solid white;
/* 	opacity: .5; */
	position: absolute;
	top: 180px;
	left: 260px;
	z-index: -1;
}

.tiger__ear {
	width: 20px;
	height: 80px;
	border-radius: 0% 100% 0% 50%;
	background-color: grey;
	border-right: 30px solid black;
	position: absolute;
	top: 140px;
	left:280px;
}

.tiger__nose-1 {
  width: 60px;
	height: 20px;
	position: absolute;
	top: 285px;
	left: 140px;
	background-color: orange;
	border-radius: 30px;
}

.tiger__muzzle {
	height: 56px;
	width: 70px;
	top: 280px;
	left: 149px;
	border-bottom: thin solid black;
}

.tiger__eyepatch {
	width: 80px;
	height: 30px;
	background-color: white;
	border-radius: 200% 100% 130% 10%;
	transform: rotate(-30deg);
	position: absolute;
	top: 218px;
	left: 181px;
}
.tiger--eye {
	width: 30px;
	height: 10px;
	border-radius: 100% 100% 0% 0% / 100% 100%;
	position: absolute;
	top: 250px;
	left: 189px;
	background-color: black;
}

.stripes {
	margin: 40px 40px 30px 50px;
	width: 150px;
	height: 60px;
	background-color: black;
	border-radius:30% 20% 100% 40% / 20% 40% 80% 100%;
	position: absolute;
}

.stripe-1 {
	width: 120px;
	height: 30px;
	top: 70px;
	left: -43px;
}
.stripe-2 {
	top: 120px;
	width: 180px;
	left: -43px;
}
.stripe-3 {
	width: 190px;
	height: 50px;
	top: 220px;
	left: -43px;
}
.tiger--face-angle {
	transform: rotate(-30deg);
}

.tiger--gradient {
	background: linear-gradient(to left, orange, #C33);
}

.tiger--gradient-2 {
	background: linear-gradient(to left, orange, white);
}
	
.spots {
	width: 5px;
	height: 5px;
	border-radius: 100%;
	background-color: black;
	position: absolute;
	z-index: 1;
	top: 310px;
	left: 160px;
	box-shadow: 
		10px 10px 0px black,
		10px 0px 0px black,
		20px 00px 0px black,
		20px 10px 0px black;
}



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

Console