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.


                <header class="header">
  <div class="header__title">
  <div class="header__reference">
    <ul class="reference-list">
      <li><a class="reference-list__link" href="">MDN reference</a></li>
      <li><a class="reference-list__link" href="">caniuse Support</a></li>

  <div class="example">
      In this example we are using the <code>not()</code> selector to apply a yellow outline to anything that is <strong>not</strong> a <code>p</code> element in the demo area. Notice that the selector targets not only each list item in the <code>ul</code> element, but also the <code>ul</code> element itself:
    <div class="example__demo example__demo--not">
        Oranges are round, orange-colored fruit that grow on trees. There are many different kinds of oranges, including: 
        <li>Cara Cara</li>
        Oranges are a commonly available source of Vitamin C, and last longer than many other fruits when stored. They are easy to transport because each orange comes in its own tough skin which acts as a container.
        alt="A basket of oranges sitting in a red crate."
        src="" />
      <p>Orange description taken from <a href="">Simple English Wikipedia</a>.

      <small>Photo by <a href="">Naomi Koelemans</a> on <a href="">Unsplash</a>.</small>


                // Demo
.example__demo--not :not(p) {
  outline: 0.25em solid var(--color-sand);

// Pen Setup
.example__demo--not {  
  ul {
    color: var(--color-cinder);
  img {
    height: auto;
    margin-top: var(--size-epsilon);
    width: 100%;