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.


                <h1>Outline <span role="img" aria-label="all the things">⭐️</span> Bookmarklet</h1>

<p>Drag this <span role="img" aria-hidden="true">👇</span> to your bookmarks bar <span role="img" aria-hidden="true">👆</span>:</p>

<p><a href="javascript:!function(t,e){var n=e.createElement('style'),o='*:focus{outline:solid red 3px!important;}';n.textContent=o,e.body.appendChild(n)}(window,document);">Outline All The Things!</a></p>

<p>On click, every focusable element will recieve a nice <span style="color:crimson;font-weight:bold;">red</span> border, so you can see where the keyboard cursor is! <span role="img" aria-hidden="true">😄</span></p>

<p>This will come in handy when a site features <code>*:focus {outline: none;}</code>, which makes navigating with only a keyboard impossible.</p>



                a {
  background-color: Crimson;
  border-radius: .25rem;
  color: White;
  display: inline-block;
  padding: .5rem 1rem;
  text-decoration: none;
  transition: background .25s;

a:hover {
  background-color: FireBrick;
  color: White;


                // Bookmarklet Source
(function(window, document, undefined) {
    var styleElement = document.createElement('style'),
        styleContent = '*:focus{outline:solid red 3px!important;}';

    styleElement.textContent = styleContent;
})(window, document);