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.

            
              <div class="container">
  <div class="abs-block a">A</div>
  <div class="normal-block b">
    <p>
      The crotch alluded to on a previous page deserves independent mention. It is a notched stick of a peculiar form, some two feet in length, which is perpendicularly inserted into the starboard gunwale near the bow, for the purpose of furnishing a rest for the wooden extremity of the harpoon, whose other naked, barbed end slopingly projects from the prow. 
    </p>
  </div>
  <div class="abs-block c">C</div>
</div>
            
          
!
            
              * {
  padding: 0;
  margin: 0;
}

.container {
  position: relative;
  background-color: #ddd;
  color: #fff;
}

.abs-block {
  position: absolute;
  width: 100px;
  height: 100px;
  box-sizing: border-box;
}

.a {
  background-color: #5B5B43;
  padding: 10px;
}

.b {
  background-color: #f3f3f3;
  padding: 10px;
  line-height: 1.5;
  color: #333;
  text-align: justify;
}

.c {
  background-color: #61C1E8;
  padding: 10px;
}
            
          
!
999px
Loading ..................

Console