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

              
                <h2>Box with header</h2>
<section class="Rtable">
  <header class="Rtable-cell Rtable-cell--head"><h3>Eddard Stark</h3></header>
  <div class="Rtable-cell">
    Has a sword named Ice. He has no Direwolf but gave one to each of his children when he found orphaned pups. He is known as the Lord of Winterfell and Warden of the North.
  </div>
</section>

<h2>Unordered Lists</h2>
<ul class="Rtable">
  <li class="Rtable-cell"><h4>Jon Snow</h4></li>
  <li class="Rtable-cell is-striped">Has a sword named Longclaw</li>
  <li class="Rtable-cell">Direwolf: Ghost</li>
  <li class="Rtable-cell is-striped">Knows nothing</li>
</ul>

<h2>Definition list</h2>
<dl class="Rtable Rtable--2cols Rtable--collapse">

  <dt class="Rtable-cell Rtable-cell--medium Rtable-cell--1of4"><strong>Name:</strong></dt>
  <dd class="Rtable-cell Rtable-cell--3of4">Arya Stark</dd>

  <dt class="Rtable-cell Rtable-cell--medium Rtable-cell--1of4"><strong>Sword:</strong></dt>
  <dd class="Rtable-cell Rtable-cell--3of4">Needle</dd>

  <dt class="Rtable-cell Rtable-cell--medium Rtable-cell--1of4"><strong>Direwolf:</strong></dt>
  <dd class="Rtable-cell Rtable-cell--3of4">Nymeria</dd>

  <dt class="Rtable-cell Rtable-cell--medium Rtable-cell--1of4"><strong>Is:</strong></dt>
  <dd class="Rtable-cell Rtable-cell--3of4">No one</dd>

</dl>


<h2>Standard table markup</h2>
<table>
  <tr>
    <th class="Rtable-cell Rtable-cell--head"><h3>Eddard Stark</h3></th>
    <td class="Rtable-cell">Has a sword named Ice</td>
    <td class="Rtable-cell">No direwolf</td>
    <td class="Rtable-cell Rtable-cell--foot"><strong>Lord of Winterfell</strong></td>
  </tr>
  <tr>
    <th class="Rtable-cell Rtable-cell--head"><h3>Jon Snow</h3></th>
    <td class="Rtable-cell">Has a sword named Longclaw</td>
    <td class="Rtable-cell">Direwolf: Ghost</td>
    <td class="Rtable-cell Rtable-cell--foot"><strong>Knows nothing</strong></td>
  </tr>
  <tr>
    <th class="Rtable-cell Rtable-cell--head"><h3>Arya Stark</h3></th>
    <td class="Rtable-cell">Has a sword named Needle</td>
    <td class="Rtable-cell">Direwolf: Nymeria</td>
    <td class="Rtable-cell Rtable-cell--foot"><strong>No one</strong></td>
  </tr>
</table>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console