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>
 <!-- Begin Image -->
 <!-- Invisible Box-->
 <div class="box">
   
    
   <!-- bear body-->
   <div class="body">
     <div class="body-copy"></div>
     
     <div class="tail"></div>
   </div>
   <!-- Circular Head-->
    <div class="head">  
      
      <!-- Circular Head Copy -->
      <div class="head-copy"></div>
      
       <!-- Left Ear ~ Light Gray-->
      <div class="ear-left">
        
       <!-- Inner ear ~ Dark Gray -->
      <div class="inner-ear-left"></div>
      </div>
      
      <!-- Right Ear ~ Light Gray-->
       <div class="ear-right">
      <!-- Inner Ear ~ Dark Gray-->
        <div class="inner-ear-right"></div>
      </div>
      
      <!-- Left Outer Eye ~ White -->
      <div class="eye-left">
        <!-- Pupil ~ Black -->
        <div class="pupil-left"></div>
      </div>
      
      <!-- Right Outer Eye ~ White -->
      <div class="eye-right">
        <!-- Pupil ~ Black -->
        <div class="pupil-right"></div>
      </div>
      
       <!-- Nose ~ Brown -->
      <div class="maul">
        <div class="maul-front">
           <div class="nose">
             <div class="nostril-l"></div>
             <div class="nostril-r"></div>
           </div>
        </div>
        <div class="tongue"></div>
       </div>
<!--       legs -->
     <div class="leg-right">
        <div class="foot"></div>
      </div>
     <div class="leg-left"></div>
     <div class="leg-haunch">
      <div class="leg-hind"></div>
      </div>
      
    <!-- End Head -->
    </div>
   
 <!-- End Invisible Box -->
 </div>
</body>
            
          
!
            
              body{
  background: #11130E;
}
.box{
  position: relative;
  margin: auto;
  display: block;
  margin-top: 8%;
  width: 600px;
  height: 420px;
  background-image: -webkit-linear-gradient(top, #949E6D 0%, #494E36 80%);
}
.body{
  position: absolute;
  top: 13.5%;
  left: 25%;
  width: 55%;
  height: 75%;
  background: #3A250F;
  border-radius: 50%;
}
.body-copy{
  position: absolute;
  width: 100%;
  height: 100%;
  background: #3A250F;
  border-radius: 50%;
  z-index: 2;
}
.tail{
  position: absolute;
  width: 15%;
  height: 12%;
  right: -4%;
  top: 35%;
  background: #3F2911;
  border-radius: 50%;
  z-index: 1;
  z-index: 1;
}
.head{
  position: absolute;
  top: 33.5%;
  left: 15%;
  width: 35%;
  height: 45%;
  background: #3F2911;
  border-radius: 50%;
}
.head-copy{
  width: 100%;
  height: 100%;
  position: absolute;
  background: #3F2911;
  border-radius: 50%;
  box-shadow: 2px 2px 15px 1px rgba(37,25,16,1);
  z-index: 3;
}
.ear-left{
  position: absolute;
  width: 25%;
  height: 28%;
  left: 1%;
  top: 2%;
  background: #A6BECF;
  box-shadow: inset 1px 1px 26px 31px #301F0D;
  border-radius: 50%;
  z-index: 1;
}
.ear-right{
  position: absolute;
  width: 25%;
  height: 35%;
  right: -5%;
  top: 22%;
  background: #A6BECF;
  box-shadow: inset 1px 1px 26px 31px #301F0D;
  border-radius: 50%;
  clip-path: polygon(100% 0, 100% 52%, 100% 100%, 34% 62%, 0 0);
  z-index: 3;
}
  .inner-ear-left{
  position: absolute;
  border-radius: 50%;
  width: 80%;
  height: 80%;
  top: 17%;
  left: 20%;
  background: #819CAF;
  box-shadow: inset 1px 1px 69px 5px rgba(48,31,13,1);
}
 .inner-ear-right{
  position: absolute;
  border-radius: 50%;
  width: 80%;
  height: 80%;
  top: 17%;
  right: 20%;
  background: #819CAF;
  box-shadow: inset 1px 1px 69px 5px rgba(48,31,13,1);
}
.eye-left{
  position: absolute;
  background: white;
  width: 15%;
  height: 15%;
  top: 40%;
  left: 13%;
  border-radius: 50%;
  z-index: 3;
}
.eye-right{
  position: absolute;
  background: white;
  width: 15%;
  height: 15%;
  top: 47%;
  right: 41%;
  border-radius: 50%;
  z-index: 3;
}
.pupil-left{
  position: absolute;
  width: 60%;
  height: 60%;
  top: 35%;
  left: 25%;
  border-radius: 50%;
  background: #000;
}
.pupil-right{
  position: absolute;
  width: 60%;
  height: 60%;
  top: 35%;
  left: 10%;
  border-radius: 50%;
  background: #27354A;
}
.maul{
  position: absolute;
  width: 28%;
  height: 35%;
  background: #2C1D0C;
  top: 50%;
  left: 15%;
  border-radius: 10px;
  clip-path: polygon(0 19%, 100% 0, 100% 100%, 0 92%);
  z-index: 4;
}
.tongue{
  position: absolute;
  top: 75%;
  left: 29%;
  height: 90%;
  width: 35%;
  background: #D6BAD8;
  border-radius: 50%;
  z-index:5;
}

.maul-front{
  position: absolute;
  top: 5%;
  left: 2%;
  height: 90%;
  width: 40%;
  background: #211609;
  z-index: 4;
 
}
.nose{
  position: absolute;
  background: #000;
  clip-path: polygon(0 0, 100% 1%, 100% 78%, 50% 100%, 0 78%);
  width: 80%;
  height: 25.5%;
  left: 2%;
  top: 17%;
  border-radius: 50%;
  
} 
.nostril-l {
  position: absolute;
  background: #000;
  width: 20%;
  height: 30%;
  left: 16%;
  top: 56%;
  border: 1px solid #ccc;
  border-radius: 50%;
}
.nostril-r {
  position: absolute;
  background: #000;
  width: 20%;
  height: 30%;
  right: 16%;
  top: 56%;
  border: 1px solid #ccc;
  border-radius: 50%;
}
.leg-left{
  position: absolute;
  left: 25%;
  top: 70%;
  width: 35%;
  height: 50%;
  background: #34220E;
  border-radius: 20px;
  z-index: 1;
}
.leg-right{
  position: absolute;
  left: 45%;
  top: 80%;
  width: 35%;
  height: 50%;
  background: #3F2911;
  border-radius: 20px;
  box-shadow: 2px 2px 15px 1px rgba(37,25,16,1);
  z-index: 2;
}

.leg-haunch{
  position: absolute;
  right: -85%;
  top: 32%;
  width: 70%;
  height: 90%;
  background: #3F2911;
  border-radius: 60px;
  box-shadow: -4px -2px 10px 1px #2C1D0C;
  z-index: 2;
}
.leg-hind{
  position: absolute;
  right: 40%;
  top: 69%;
  width: 80%;
  height: 35%;
  background: #3F2911;
  border-radius: 20px;
  box-shadow: -4px -2px 10px 1px #2C1D0C;
 
  z-index: 2;
}

@media all and (max-width: 600px) {
   .box{
    margin-top: 100px;
    width: 250px;
    height: 175px;
  }
  
}
            
          
!
999px
Loading ..................

Console