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.


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.


                <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 have a <code>div</code> with a class of <code>has-circular-mask</code> applied to it. <code>has-circular-mask</code> instructs the browser to draw a circle <code>32vw</code> in diameter, radiating out from a central point set <code>50%</code> from the left and <code>50%</code> from the top of its container. 
      Try playing around with <code>clip-path()</code>'s three arguments (<code>32vw</code>, <code>50%</code>, and <code>50%</code>) to see how it changes the mask's shape.

    <div class="example__demo example__demo--circle">
      <div class="has-circlualr-mask">
        <img class="duck" alt="A Mallard duck sleeping on a dock." src="" />

      <small><a href="">"mallard duck on dock photo"</a> by <a href="">Niclas Illg</a> on <a href="">Unsplash</a>.</small>


                // Demo
.has-circlualr-mask {
  clip-path: circle(32vw at 50% 50%);

// Pen Setup
.example__demo--circle {
  background-color: var(--color-cinder);

.duck {
  height: auto;
  width: 100%;