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.


                <ul data-tabs>
	<li><a data-tabby-default href="#harry">Harry Potter</a></li>
	<li><a href="#hermione">Hermione</a></li>
	<li><a href="#neville">Neville</a></li>

<div id="harry">
	<h2>Harry Potter</h2>

	<p><strong>Fun Facts:</strong></p>
		<li>"The boy who lived"</li>
		<li>Best friends with Ron and Hermione</li>
		<li>Fails up on a regular basis</li>
	<p><a href="">More about Harry &rarr;</a></p>

<div id="hermione">

	<p><strong>Fun Facts:</strong></p>
		<li>The real hero of the Harry Potter series</li>
		<li>Underappreciated by her friends, but always saves the day</li>
		<li>Harry somehow gets credit for her accomplishments on a regular basis</li>
	<p><a href="">More about Hermione &rarr;</a></p>

<div id="neville">

	<p><strong>Fun Facts:</strong></p>
		<li>The surprise hero of the last book</li>
		<li>His life is forever intertwined with Harry's</li>
		<li>Total badass</li>
	<p><a href="">More about Neville &rarr;</a></p>




                var tabs = new Tabby('[data-tabs]');