Pen Settings



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


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


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.


                <h1>Hello World</h1>

<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Velit <i>asperiores</i> cupiditate dolor quo iste animi, eveniet in inventore <i>obcaecati</i> quisquam architecto pariatur et perspiciatis, deleniti voluptatum consequuntur <i>voluptas</i> voluptatibus repellat!</p>

<!-- This is where we include the worklet -->
<script src=''></script>


                // This is where we use the custom properties

@supports (background: paint(something)) {
  h1 {
      Optionally set property values. 
      This can be done at root or local scope 
    --extra-scallopRadius: 15; /* default: 10 */
    --extra-scallopColor: #8266ff; /* default: black */
    --extra-scallopWeight: 3; /* default: 2 */

    background: paint(extra-scallopedBorder);
    line-height: 1.5;

  i {
    --extra-scallopRadius: 5; /* default: 10 */
    --extra-scallopColor: #00eeff; /* default: black */
    --extra-scallopWeight: 1; /* default: 2 */

    /* Must add padding to show border properly*/
    padding: 0.75rem;

    background: paint(extra-scallopedBorder);

// Additional Styling

body {
  font-family: monospace;
  height: 100vh;
  width: 100vw;
  text-align: center;
  padding: 0;
  margin: 0;

h1 {
  font-size: 4rem;
  display: inline-block;
  font-weight: 100;
  margin: 1rem auto;
  padding: 1rem 2rem;

p {
  max-width: 660px;
  margin: 0 auto;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 2;
  text-align: left;