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

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


                <h1>A Big Ol&rsquo; Heading</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Odit et, neque quasi qui unde architecto accusantium sed eos, exercitationem culpa adipisci provident dicta rerum laborum animi debitis dolorum molestiae consequuntur, eaque similique tempore. Soluta at nulla provident deserunt distinctio sapiente ex, modi, omnis rem esse blanditiis culpa quam aperiam maxime, molestias.</p>
<time>February 20, 2013</time>


                @import url(;

html {
  font-size: 21px;
  font-family: 'Alegreya', serif;
  line-height: 1.5;
  padding: 40px;

body {
  margin: 0 auto;
  max-width: 30em;

h1 {
  font-size: 2em;
  font-weight: normal;
  letter-spacing: -0.025em;
  margin: 0 0 0.25em;

p {
  margin: 0 0 0.75em;

time {
  font-size: 0.75em;
  letter-spacing: 0.05em;