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.

+ add another resource


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


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.


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.


                <p class="first">
  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc suscipit turpis quam, vel molestie tortor interdum vitae. In porttitor auctor iaculis. Proin scelerisque lacus in condimentum sodales. Nunc vulputate a lectus quis tempus. Mauris mauris libero, accumsan id pulvinar quis, pretium vel nibh. Nulla vestibulum, arcu id pretium tempor, tellus nunc rutrum metus, sit amet ornare quam sapien ac lectus. Vestibulum aliquam tristique ante, eu ultrices augue consequat sit amet. Etiam hendrerit arcu at eleifend imperdiet. Morbi in pretium dolor, id pharetra purus. Nam eget feugiat lorem. Phasellus aliquet turpis quis sollicitudin dignissim. Suspendisse massa quam, porta in vestibulum sed, feugiat non nisl. Vestibulum sit amet posuere ipsum. Duis sed felis facilisis, interdum lorem in, feugiat nibh. 
  <div class="paragraph">
    <div class="second"></div>
  Fusce ultricies auctor ultrices. In sagittis elit non sapien sodales mattis. Quisque tempor quam eget lacinia varius. Quisque quis adipiscing enim, in pulvinar nisi. Mauris condimentum urna interdum, posuere purus et, bibendum justo. Nullam imperdiet, lorem eu blandit malesuada, lorem neque auctor mauris, eget rutrum velit ante ut tellus. Proin pharetra eu diam eu hendrerit. Etiam et eleifend lorem. Suspendisse tincidunt, tortor eu porta faucibus, nunc nibh accumsan urna, quis mattis tellus lorem ut lorem. Donec rhoncus eu tortor sed ullamcorper. Integer semper dolor quis nulla laoreet posuere. Nulla dictum turpis non dolor posuere, vel porttitor elit auctor. Duis leo ipsum, luctus vulputate ligula ac, tempus facilisis leo.


                .first {
  width: 350px;
  height: 350px;
  shape-inside: polygon(66.67px 200.00px,11.33px 329.47px,441.67px 399.47px,566.33px 199.00px,278.67px 74.53px,51.33px 24.53px);
  margin-bottom: 50px;
div.second {
  width: 100px;
  height: 100px;
  float: left;
  shape-margin: 10px;
div.paragraph {
  width: 400px;
  margin-left: 100px;