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 is required to process package imports. If you need a different preprocessor remove all packages first.

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


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.


  <a href="#main" class="visually-hidden">Skip to main content</a>
  <nav><a href="">some link in my nav bar</a>
    <!--My nav markup goes here -->
  <main id="main">My Main Content
    <a href="#">Some link inside my main content</a>


                .visually-hidden {
  /* */
  position: absolute;
  height: 1px;
  width: 1px;
  overflow: hidden;
  /*clip with spaces for older browsers*/
  clip: rect(1px 1px 1px 1px);
  /*clip with commas for most browsers*/
  clip: rect(1px, 1px, 1px, 1px);
  /*clip-path for newer browsers*/
  clip-path: rect(1px, 1px, 1px, 1px);

.visually-hidden:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: auto;

/*These are some extra styling to make things look a little more recognizable*/

nav {
  display: flex;
  width: 100%;
  height: 3rem;