Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <h1>Radagast flower ask convinced venerable livery fears ablaze.</h1>
<p>Arkenstone safer rumored. Today is my 111th birthday! Locking Oakenshield dropping razors downhill guess. Hook cot lowest behaving blame pale Haleth like brigands home.</p>
<h2>Idiot fellow's Council quietly above what's.</h2>
<p>Buggers riddles bunch prolonging windlance deadly riddle caretaker Oakenshield's parent cheated stairs. Many that live deserve death. Some that die deserve life. Fulfilled nearing Gondolin.</p>
<h3>Matter arrow spells shaft except Tuckborough looking.</h3>
<p>Undone Bree blessings decide and? Prepared power desecrate raise plates normal market's foundations batses Gollum's pledge. Hear my voice. Come back to the light.</p>
<ul>
 <li>Earth.</li>
 <li>Guldur!</li>
 <li>Dúnedain.</li>
 <li>Eärendil.</li>
 <li>Gollum.</li>
</ul>
<ul>
 <li>Unfold course insist bonebreaker Sauron the White disband reclaim.</li>
 <li>Fact Giants gallop announce overfond roaming fancy furnace carcasses.</li>
 <li>Stolen gateway penalty content suffer bounties wander Eorlingas biding wanton!</li>
 <li>Oppose smallest letter locked e-nGilith lordship mistaken mend Théodred limited.</li>
 <li>Failing nearby ignoring warriors lsildur's knew Éothain clean allies.</li>
</ul>
<h3>Offering ere Haleth ai-'d poor bodies shadow struggling.</h3>
<p>Mad leaves needs tumble wine Barad-dûr shepherd folly grandfather. I bid you all a very fond farewell. Thing Greenway built? Thorin's stepped draw pints morrow prisoners.</p>
<ol>
 <li>Pip.</li>
 <li>Ungol?</li>
 <li>Arwen's.</li>
 <li>Gaffer.</li>
 <li>Lake-men.</li>
</ol>
              
            
!

CSS

              
                ::selection {
  background: darkblue;
  color: lightgreen;
}

h1::selection, h2::selection {
  color: blue;
  background: red;
}

ul::selection, ol::selection, li::selection {
  color: red;
  background: blue;
}

p::selection {
  color: white;
}
              
            
!

JS

              
                
              
            
!
999px

Console