Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.


                <h1>Clarke’s Three Laws</h1>
  <li>When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
  <li>The only way of discovering the limits of the possible is to venture a little way past them into the impossible.
  <li>Any sufficiently advanced technology is indistinguishable from magic.


                @import url(;
* { box-sizing: border-box; }
body { 
  font-family: Merriweather, serif; 
  font-weight: 500; font-style: normal;
  font-size: 1.6rem; margin: 0 auto; 
  max-width: 44rem; } 
h1 { text-align: center; }
ol { 
  line-height: 1.6;
  list-style-type: none;
  counter-reset: section;
  margin-left: 3rem;
li {
    counter-increment: section;
    margin-top: 2rem;
li:before {
    content: counters(section,"");
    border: 2px solid #000;
    border-radius: 50%;
    display: inline-block;
    float: left;
    width: 3.5rem;
    height: 3rem;
    text-align: center;
    padding-top: .25rem;
    font-weight: 700;
    margin-left: -5rem;
    margin-right: 1rem;
    background: rgba(0,0,0,0.025);

@media screen and (max-width: 30em) { 
  ol { margin-left: 0; } 
li:before { 
  display: block;
  float: none;
  margin: 1rem auto;