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>
</div>
              
            
!

CSS

              
                div {
  width:300px;
  height:300px;
background-color:#c44e37;
background-image:
radial-gradient(circle at 100% 150%, #c44e37 24%, #fff 24%, #fff 28%, #c44e37 28%, #c44e37 36%, #fff 36%, #fff 40%, transparent 40%, transparent),
radial-gradient(circle at 0    150%, #c44e37 24%, #fff 24%, #fff 28%, #c44e37 28%, #c44e37 36%, #fff 36%, #fff 40%, transparent 40%, transparent),
radial-gradient(circle at 50%  100%, #fff 10%, #c44e37 10%, #c44e37 23%, #fff 23%, #fff 30%, #c44e37 30%, #c44e37 43%, #fff 43%, #fff 50%, #c44e37 50%, #c44e37 63%, #fff 63%, #fff 71%, transparent 71%, transparent),
radial-gradient(circle at 100% 50%, #fff 5%, #c44e37 5%, #c44e37 15%, #fff 15%, #fff 20%, #c44e37 20%, #c44e37 29%, #fff 29%, #fff 34%, #c44e37 34%, #c44e37 44%, #fff 44%, #fff 49%, transparent 49%, transparent),
radial-gradient(circle at 0    50%,#fff 5%, #c44e37 5%, #c44e37 15%, #fff 15%, #fff 20%, #c44e37 20%, #c44e37 29%, #fff 29%, #fff 34%, #c44e37 34%, #c44e37 44%, #fff 44%, #fff 49%, transparent 49%, transparent);
background-size: 50px 25px;
}
              
            
!

JS

              
                
              
            
!
999px

Console