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


    Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptates maxime cupiditate esse incidunt eum quia nulla eos aliquam tempora sed necessitatibus accusamus distinctio pariatur error adipisci corporis omnis, vel rem.


                // Beveled corners & negative border-radius with CSS3 gradients | Lea Verou
// It will work on Firefox 3.6+, Chrome, Safari, Opera 11.10+ and IE10+.

.beveled-box {
  background: #edf6fd; // fallback
    linear-gradient(135deg, transparent 8px, #edf6fd 0) top left,
    linear-gradient(225deg, transparent 8px, #edf6fd 0) top right,
    linear-gradient(315deg, transparent 8px, #edf6fd 0) bottom right,
    linear-gradient(45deg,  transparent 8px, #edf6fd 0) bottom left;
  background-size: 51% 51%; // set the 51% value to solve a split in the middle
  background-repeat: no-repeat;

// Base settings
div {
  margin: 2rem auto;
  padding: 1rem;
  width: 30%;

p {
  margin: 0;