Pen Settings

HTML

CSS

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

JavaScript

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

Behavior

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.

HTML

              
                <div class="body" hidden aria-hidden="true">
  <h1>
    100% accessible
  </h1>
  
  <p>
    <a href="https://www.matuzo.at/blog/building-the-most-inaccessible-site-possible-with-a-perfect-lighthouse-score/" rel="noopener">Read the article</a>
  </p>

    <p>
    <!-- start slipsum code -->
    Well, the way they make shows is, they make one show. That show's called a pilot. Then they show that show to the people who make shows, and on the strength of that one show they decide if they're going to make more shows. Some pilots get picked and become television programs. Some don't, become nothing. She starred in one of the ones that became nothing.
  <!-- end slipsum code -->
</p> 

  <ul>
    <li>CSS only 🖕</li>
    <li>JS only 🖕</li>
    <li>Screen reader users 🖕</li>
    <li>Keyboard users 🖕</li>
    <li>High contrast mode 🖕</li>
    <li>Mouse users 🖕</li>
    <li>Readability 🖕</li>
    <li>Reader mode 🖕</li>
    <li>Source 🖕</li>
  </ul>
  
  <form action="#form">
    <p>
      <label for="text">Dummy form</label><br>
      <input type="text" id="text">
    </p>
    <button>Send</button>
  </form>
  
  <p>
    <!-- start slipsum code -->
    You think water moves fast? You should see ice. It moves like it has a mind. Like it knows it killed the world once and got a taste for murder. After the avalanche, it took us a week to climb out. Now, I don't know exactly when we turned on each other, but I know that seven of us survived the slide... and only five made it out. Now we took an oath, that I'm breaking now. We said we'd say it was the snow that killed the other two, but it wasn't. Nature is lethal but it doesn't hold a candle to man.
    <!-- end slipsum code -->
  </p> 
</div>
              
            
!

CSS

              
                .loaded {
  display: block;
}
              
            
!

JS

              
                document.querySelector('.body').classList.add('loaded');
              
            
!
999px

Console