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.


                <div class="container">
   <div class="box">Test</div>
   <div class="box">Facere ea eveniet necessitatibus quidem inventore quas vitae, commodi modi omnis nobis assumenda, enim voluptatum a in repellat? Id voluptatum voluptatem qui eius quos ea harum temporibus facere ut voluptatibus?
   Veritatis, numquam. Quod doloribus laudantium facilis officiis dignissimos architecto. Quod, earum explicabo magnam repudiandae excepturi ut tempore quia nulla adipisci vel consequuntur sapiente assumenda error voluptatum voluptas minima magni dolore!</div>
   <div class="box">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Impedit, velit? Iusto voluptas, temporibus, consectetur vel cupiditate provident natus adipisci autem blanditiis minima dignissimos numquam unde quaerat ducimus odit voluptate atque?


                .container {
   display: grid;
   grid-auto-rows: 1fr;
   grid-row-gap: 1rem;
.box {
   padding: 1rem 2rem;
   background: rgba(100,200,20,0.5);
   width: 80%;
   border: 1px solid grey;
   justify-self: center;