Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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.


Auto Save

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.


                <section class="w-full max-w-6xl mx-auto px-4 m-4 border-2 border-red-600">
  <div class="grid md:grid-cols-12 gap-5 p-4 m-2">
    <main class="md:col-span-9 p-4 border-2 border-green-600">
      <h1 class="text-3xl">Headline</h1>
      <h3 class="text-xl">Subheadline</h3>
      <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Earum voluptas saepe sit qui, veniam, distinctio quos suscipit provident dolorum tempore officia eaque, delectus reiciendis. Ad odio quam ullam nostrum nisi.</p>
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Harum provident qui quidem officia tempora. Voluptate nobis similique alias excepturi enim harum, perferendis a temporibus provident, numquam at, voluptas totam amet!</p>
      <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Enim accusantium ut voluptatibus quasi reiciendis sunt, unde similique suscipit libero. Laudantium optio corrupti voluptates dicta dolores fugit aspernatur eius excepturi placeat!</p>
    <aside class="md:col-span-3 md:pt-0 p-2 border-2 border-blue-600">
      <P>Lorem ipsum dolor sit amet consectetur adipisicing elit. Adipisci a, aliquam dicta asperiores cum sapiente, quod ex tempora, laboriosam maxime quo veritatis. Inventore esse alias iure laborum quae in delectus.</P>