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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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 class="container">
  <h1>The Chilly-warmer</h1>
  <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/css-shapes-1.jpg" class="o" />
  <p>Ought not you, children, to be more covered over than you are? Jack, instead of being so entirely wrapped up in yourself, suppose you pay a little attention to your sister, and wrap her up in those warm eiderdown rugs I purchased in Norway. Dear me! How could I possibly have forgotten it? I have just the thing to make us all comfortable. Do you see this round thing, something like a china cannonball? It is called The Chilly-warmer. I take two small bottles of a chemical preparation that I carry in my pocket, and pour a few drops of each into these two tiny holes you see at the side. These liquids meet together inside the apparatus, and immediately, by their action one upon another, they make the Chilly-warmer so warm, that even at a good distance off you can feel it like a cosy fire.</p>
</div><!-- container -->

<p class="p">Demo by Patrick Catanzariti. <a href="css-shapes-breaking-rectangular-design">See article</a>.</p>
              
            
!

CSS

              
                @import "https://s3-us-west-2.amazonaws.com/s.cdpn.io/123941/typeplate.css";

.container {
  max-width: 600px;
}

.o {
  float: right;
  shape-outside: circle();
  max-width: 200px;
  width: 50%;
}
              
            
!

JS

              
                
              
            
!
999px

Console