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 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

Packages

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.

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 class="nibbler"></div>
              
            
!

CSS

              
                .nibbler {
  height: 400px;
  width: 300px;
  
  color: #FEF7DC;
  
  background:
    radial-gradient(
      currentColor 50%,
      transparent 52%
    ) 125px 235px / 40px 20px,
    radial-gradient(
      black,
      black 52%,
      transparent 55%
    ) 120px 218px / 50px 20px,
    radial-gradient(
      currentColor,
      currentColor 47%,
      black 50%,
      black 52%,
      transparent 54%
    ) 95px 208px / 100px 40px,
    linear-gradient(
      black, black
    ) 92px 257px / 131px 3px,
    radial-gradient(
      at bottom,
      currentColor 48.5%,
      black 50%, 
      black 51%,
      transparent 52%
    ) 37px 212px / 215px 45px,
    linear-gradient(
      -75deg,
      transparent 50%,
      black 52%,
      white 54%
    ) 190px 250px / 20px 30px,
    linear-gradient(
      75deg,
      transparent 50%,
      black 52%,
      white 54%
    ) 177px 250px / 20px 40px,
    linear-gradient(
      -75deg,
      transparent 50%,
      black 52%,
      white 54%
    ) 125px 230px / 20px 60px,
    linear-gradient(
      75deg,
      transparent 50%,
      black 52%,
      white 54%
    ) 107px 230px / 20px 60px,
    radial-gradient(
      currentColor,
      currentColor 48.5%,
      black 50%,
      black 52%,
      transparent 53%
    ) 40px 215px / 200px 80px,
    radial-gradient(
      black,
      black 46%,
      transparent 50%
    ) 133px 48px / 15px 15px,
    radial-gradient(
      white,
      white 48%,
      black 49.5%,
      black 51%,
      transparent 52%
    ) 115px 30px / 50px 50px,
    linear-gradient(
      black, black
    ) 133px 70px / 15px 50px,
    radial-gradient(
      black,
      black 46%,
      transparent 50%
    ) 210px 190px / 18px 18px,
    radial-gradient(
      white,
      white 48%,
      black 49.5%,
      black 51%,
      transparent 52%
    ) 170px 153px / 90px 90px,
    radial-gradient(
      black,
      black 46%,
      transparent 50%
    ) 60px 190px / 18px 18px,
    radial-gradient(
      white,
      white 48%,
      black 49.5%,
      black 51%,
      transparent 52%
    ) 25px 153px / 90px 90px,
    radial-gradient(
      black,
      black 47%,
      transparent 50%
    ) 185px 150px / 70px 40px,
    radial-gradient(
      black,
      black 47%,
      transparent 50%
    ) 30px 150px / 70px 40px,
    radial-gradient(
      black,
      black 49%,
      transparent 50%
    ) 105px 105px / 70px 50px,
    radial-gradient(
      black,
      black 49.5%,
      transparent 50%
    ) 0 92px / 280px 220px;
  background-repeat: no-repeat;
}
              
            
!

JS

              
                
              
            
!
999px

Console