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.


                <!-- Every Module Ever Scaffold -->
<div class="module">
  <header class="module-header">
  	<h2 class="module-title">Module Title</h2>
  <div class="module-content">
    <p class="module-text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. <a href="#" class="module-link">Dolorum delectus</a> adipisci quos magnam quo ut cumque dolor atque autem omnis in culpa amet quia ducimus odit, recusandae commodi, nam nulla.</p>
    <ul class="module-list">
      <li class="module-item">
        <a href="#" class="module-link module-item-link">Link Text</a>
  <footer class="module-footer">
    <p class="module-text module-footer-text">Short phrase</p>


                // Module
// ---------------------------------------------------------------- //
// Features
// - Namespaced instead of nested, for faster selection.
// - No element (<ul>,<li>, <a>) styling, for faster selection.
// - Styled off of classes, for maximum overrides.
// How to use:
// - Rename "module" to whatever it is you're describing.
// - Don't need something? Delete it.
// - Add your own super descriptive and helpful comments.
// --------------------------------------------------------------- //
.module {}

// Header
.module-header {}
.module-title {}
// Content
.module-content {}
.module-text {}
.module-link {}
.module-list {}
.module-item {}
.module-item-link {}

// Footer
.module-footer {}
.module-footer-text {}