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

              
                <p>In Foundation 6.2, we introduced styles for <code>&lt;input type="range"&gt;</code>, the native HTML element for range sliders. It's not supported in every browser, namely IE9 and some older mobile browsers. <a href="http://caniuse.com/#feat=input-range">View browser support for the range input type.</a></p>

<p>It's possible to use both the JavaScript slider and the native slider in the same codebase, as the CSS selectors used don't overlap. Here's what's different about the native slider:</p>

<ul>
  <li>Less markup: just write <code>&lt;input type="range"&gt;</code> and you're good.</li>
  <li>No JavaScript is needed, which guarantees it runs faster in most browsers.</li>
  <li>To disable the slider, add <code>disabled</code> as an attribute, instead of a class.</li>
  <li>No support for vertical orientation.</li>
  <li>No support for two handles.</li>
</ul>

<input type="range" min="1" max="100" step="1">

<br />
<a target="_blank" href="http://www.html5tutorial.info/html5-range.php">Learn more about native input type range</a>

              
            
!

CSS

              
                body {
  margin: 2rem;
}
              
            
!

JS

              
                $(document).foundation();


              
            
!
999px

Console