Pen Settings

HTML

CSS

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.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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.

+ add another resource

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div>
  <h1>Alice in Wonderland</h1>
  <img  src="https://bit.ly/2b64Ibb" alt="Rabbit" />
  <p>
    Alice is feeling bored and drowsy while sitting on the riverbank with her elder sister. She then notices a talking, clothed White Rabbit with a pocket watch run past. She follows it down a rabbit hole when suddenly she falls a long way to a curious hall
    with many locked doors of all sizes.</p> 
  
  <p>She finds a small key to a door too small for her to fit through, but through it she sees an attractive garden. She then discovers a bottle on a table labelled "DRINK ME," the contents of which cause her to shrink
    too small to reach the key which she has left on the table.</p> 
  
  <p>She eats a cake with "EAT ME" written on it in currants as the chapter closes. Alice is feeling bored and drowsy while sitting on the riverbank with her elder sister. She then notices a talking,
    clothed White Rabbit with a pocket watch run past.</p> 
  <p>She follows it down a rabbit hole when suddenly she falls a long way to a curious hall with many locked doors of all sizes.</p> 
  
  <p>She finds a small key to a door too small for her to fit through, but through
    it she sees an attractive garden. She then discovers a bottle on a table labelled "DRINK ME," the contents of which cause her to shrink too small to reach the key which she has left on the table.</p> 
  
  <p>She eats a cake with "EAT ME" written on it in currants
    as the chapter closes. Alice is feeling bored and drowsy while sitting on the riverbank with her elder sister. She then notices a talking, clothed White Rabbit with a pocket watch run past.</p> 
  
  <p>She follows it down a rabbit hole when suddenly she falls
    a long way to a curious hall with many locked doors of all sizes. She finds a small key to a door too small for her to fit through, but through it she sees an attractive garden. She then discovers a bottle on a table labelled "DRINK ME," the contents
    of which cause her to shrink too small to reach the key which she has left on the table. She eats a cake with "EAT ME" written on it in currants as the chapter closes.
  </p>
</div>
              
            
!

CSS

              
                img {
  width: 300px;
  height: 300px;
  float: left;
  shape-outside: circle(50%);
  margin-right: 10px;
}
body{
  font-family: eczar;
  width: 70%;
  margin: 40px auto;
  background-color: #fff;
  padding: 20px 40px;
  box-shadow: 0 0 20px #999;
}
h1{
  text-align: center;
  margin-top: 0;
}

html{
  background-color: antiquewhite;
}
              
            
!

JS

              
                
              
            
!
999px

Console