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">
  <h1>The Wizard of Oz</h1>
  <h2>Chapter 3: How Dorothy Saved the Scarecrow</h2>
  <div class="content">
    <p>"Who are you?" asked the Scarecrow when he had stretched himself and yawned. "And where are you going?"</p>
    <p>"My name is Dorothy," said the girl, "and I am going to the Emerald City, to ask the Great Oz to send me back to Kansas."</p>
    <p>"Where is the Emerald City?" he inquired. "And who is Oz?"</p>
    <p>"Why, don't you know?" she returned, in surprise.</p>
    <p>"No, indeed. I don't know anything. You see, I am stuffed, so I have no brains at all," he answered sadly.</p>  
    <p>"Oh," said Dorothy, "I'm awfully sorry for you."</p>
    <p>"Do you think," he asked, "if I go to the Emerald City with you, that Oz would give me some brains?"</p>
    <p>"I cannot tell," she returned, "but you may come with me, if you like. If Oz will not give you any brains you will be no worse off than you are now."</p>
    <p>"That is true," said the Scarecrow.  "You see," he continued confidentially, "I don't mind my legs and arms and body being stuffed, because I cannot get hurt.  If anyone treads on my toes or sticks a pin into me, it doesn't matter, for I can't feel it. But I do not want people to call me a fool, and if my head stays stuffed with straw instead of with brains, as yours is, how am I ever to know anything?"</p>
    <p>"I understand how you feel," said the little girl, who was truly sorry for him.  "If you will come with me I'll ask Oz to do all he can for you."</p>
    <p>"Thank you," he answered gratefully.</p>
    <p>They walked back to the road. Dorothy helped him over the fence, and they started along the path of yellow brick for the Emerald City.</p>
  </div>
</div>
            
          
!
            
              html,
body {
  height: 100%;
}
body {
  background: #f1f2f3;
  font-family: "Open Sans", sans-serif;
  line-height: 1.75;
  margin: 0 auto;
  max-width: 800px;
}
.container {
  background: #fff;
  padding: 2em;
}
.content {
  column-count: 2;
  column-gap: 2em;
  margin: 0;
}
h1,
h2 {
  margin: 0 0 .5em;
}
            
          
!
            
              // Demo example for https://github.com/AllThingsSmitty/css-protips#add-line-height-to-body
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console