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 Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

              
                <div>
    <ul class=>
        <li class="list-header">A</li>
        <li>Andrew W.K.</li>
        <li>Apparat</li>
        <li>Arcade Fire</li>
        <li>At The Drive-In</li>
        <li>Aziz Ansari</li>
    </ul>
    <ul>
        <li class="list-header">B</li>
        <li>Battles</li>
        <li>Biz Markie</li>
        <li>The Black Keys</li>
        <li>Blakroc</li>
        <li>Broken Social Scene</li>
    </ul>
    <ul>
        <li class="list-header">C</li>
        <li>Chromeo</li>
        <li>Common</li>
        <li>Converge</li>
        <li>Crystal Castles</li>
        <li>Cursive</li>
    </ul>
    <ul>
        <li class="list-header">D</li>
        <li>Daft Punk</li>
        <li>David Bazan</li>
        <li>Death from Above 1979</li>
        <li>Delorean</li>
    </ul>
    <ul>
        <li class="list-header">E</li>
        <li>Explosions In The Sky</li>
    </ul>
    <ul>
        <li class="list-header">F</li>
        <li>Fear Before The March Of Flames</li>
        <li>The Fire Theft</li>
        <li>Flight of the Conchords</li>
        <li>Foo Fighters</li>
    </ul>
    <ul>
        <li class="list-header">G</li>
        <li>The Get Up Kids</li>
        <li>Girl Talk</li>
        <li>godspeed you! black emperor</li>
        <li>Guns N' Roses</li>
    </ul>
    <ul>
        <li class="list-header">H</li>
        <li>Haliaway</li>
        <li>Hot Chip</li>
        <li>Hot Hot Heat</li>
    </ul>
    <ul>
        <li class="list-header">I</li>
        <li>Immaculate Machine</li>
        <li>Imogen Heap</li>
        <li>Interpol</li>
    </ul>
    <ul>
        <li class="list-header">J</li>
        <li>James Blake</li>
        <li>Japandroids</li>
        <li>Jimmy Eat World</li>
        <li>The Juan MacLean</li>
    </ul>
    <ul>
        <li class="list-header">K</li>
        <li>Kings Go Forth</li>
        <li>Kings of Leon</li>
    </ul>
    <ul>
        <li class="list-header">L</li>
        <li>Lady Sovereign</li>
        <li>LCD Soundsystem</li>
        <li>Lykke Li</li>
    </ul>
    <ul>
        <li class="list-header">M</li>
        <li>M.I.A.</li>
        <li>Madball</li>
        <li>Major Lazer</li>
        <li>Mount Kimbie</li>
    </ul>
    <ul>
        <li class="list-header">N</li>
        <li>Neutral Milk Hotel</li>
        <li>New Ruins</li>
        <li>Nirvana</li>
    </ul>
    <ul>
        <li class="list-header">O</li>
        <li>Of Montreal</li>
        <li>Open Hand</li>
        <li>Outkast</li>
    </ul>
    <ul>
        <li class="list-header">P</li>
        <li>Parts and Labor</li>
        <li>Pharoahe Monch</li>
        <li>Pixies</li>
    </ul>
    <ul>
        <li class="list-header">R</li>
        <li>Radiohead</li>
        <li>Ratatat</li>
        <li>RJD2</li>
        <li>The Roots</li>
    </ul>
    <ul>
        <li class="list-header">S</li>
        <li>Sam Cooke</li>
        <li>Santigold</li>
        <li>Shai Hulud</li>
        <li>Sinai Beach</li>
        <li>Sleigh Bells</li>
        <li>Small Sins</li>
        <li>Snoop Dogg</li>
        <li>Spoon</li>
        <li>Stars</li>
        <li>Strongarm</li>
        <li>Sunny Day Real Estate</li>
    </ul>
    <ul>
        <li class="list-header">T</li>
        <li>Ted Leo & The Pharmacists</li>
        <li>T-Pain</li>
        <li>Thrice</li>
        <li>TV On The Radio</li>
        <li>Two Gallants</li>
    </ul>
</div>
              
            
!

CSS

              
                html,body{
  padding:0;
  margin:0;
  width:100%;
}
ul {
list-style:none;
  padding:0;
  margin:auto;
}

.list-header {
    background: #B8C1C8;
    border-bottom: 1px solid #989EA4;
    border-top: 1px solid #717D85;
    color: #FFF;
    font: bold 18px/21px Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 2px 0 0 12px;
    position: -webkit-sticky;
    position: sticky;
    width: 100%;
    top: 0px;
}

li {
    font: bold 20px/45px Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0 0 0 12px;
    white-space: nowrap;
}

li + li {
    border-top: 1px solid #CCC
}
              
            
!

JS

              
                
              
            
!
999px

Console