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

              
                <div>
  <p>
    Nov 20 03:16:26 - whereswaldon:
  </p>
  <p>
    And another one tests,
  </p>
  <p>
    and another one tests,
  </p>
  <p>
    and another one tests the code...
  </p>
  <p>
    Nov 20 03:21:06 - whereswaldon:
  </p>
  <p>
    Once more with testing
  </p>
  <p>
    Nov 21 19:58:50 - whereswaldon:
  </p>
  <p class="parent">
    This is a shiny new message
  </p>
  <p>
    Nov 21 20:13:01 - whereswaldon:
  </p>
  <p class="parent">
    I hereby write this test message
  </p>
  <p>
    Nov 21 20:14:58 - whereswaldon:
  </p>
  <p class="parent">
    This time it will work... I just know it
  </p>
  <p>
    Nov 21 20:18:00 - whereswaldon:
  </p>
  <p class="selected">
    This time it might even work without rendering extra copies of new messages!
  </p>
  <p>
    Nov 21 20:27:28 - whereswaldon:
  </p>
  <p class="child">
    Here is a new message
  </p>
  <p>
    Nov 21 21:22:57 - whereswaldon:
  </p>
  <p class="child">
    Let's send another shiny new message. This one should propagate through the relay network.
  </p>
  <p>
    Nov 21 21:44:20 - whereswaldon:
  </p>
  <p class="child">
    or maybe this one will... :fingers-crossed:
  </p>
  
  <hr>
  <h3> Not saying it would be blue, but here's an example of what it might look like with another color.</h3>
  <p>
    Nov 20 03:16:26 - <span class="name">whereswaldon</span>:
  </p>
  <p>
    And another one tests,
  </p>
  <p>
    and another one tests,
  </p>
  <p>
    and another one tests the code...
  </p>
  <p>
    Nov 20 03:21:06 - <span class="name">whereswaldon</span>:
  </p>
  <p>
    Once more with testing
  </p>
  <p>
    Nov 21 19:58:50 - <span class="name">whereswaldon</span>:
  </p>
  <p class="parent">
    This is a shiny new message
  </p>
  <p>
    Nov 21 20:13:01 - <span class="name">whereswaldon</span>:
  </p>
  <p class="parent">
    I hereby write this test message
  </p>
  <p>
    Nov 21 20:14:58 - <span class="name">whereswaldon</span>:
  </p>
  <p class="parent">
    This time it will work... I just know it
  </p>
  <p>
    Nov 21 20:18:00 - <span class="name">whereswaldon</span>:
  </p>
  <p class="selected">
    This time it might even work without rendering extra copies of new messages!
  </p>
  <p>
    Nov 21 20:27:28 - <span class="name">whereswaldon</span>:
  </p>
  <p class="child">
    Here is a new message
  </p>
  <p>
    Nov 21 21:22:57 - <span class="name">whereswaldon</span>:
  </p>
  <p class="child">
    Let's send another shiny new message. This one should propagate through the relay network.
  </p>
  <p>
    Nov 21 21:44:20 - <span class="name">whereswaldon</span>:
  </p>
  <p class="child">
    or maybe this one will... :fingers-crossed:
  </p>
</div>
              
            
!

CSS

              
                html {
   background: #323231;
}
p {
  line-height: 6px;
  font-family: mono;
  color: #BEE0E4;
}
h3 {
  color: white;
  font-family: sans;
}
.parent {
  color: #FDFD00;
}
.selected {
  color: #FF0000;
}
.child {
  color: #008000;
}
.name {
  color: blue;
  font-weight: bold;
}
              
            
!

JS

              
                
              
            
!
999px

Console