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.


                <!-- Depth
* box-shadow
* z-index
* parallax effect

<div class="box1">BOX 1</div>

<div class="box2">BOX 2</div>

<p>Lorem ipsum dolor amet beard offal ethical messenger bag, craft beer jianbing activated charcoal you probably haven't heard of them celiac. Small batch street art skateboard, food truck YOLO authentic tacos readymade sartorial meggings knausgaard pitchfork. 3 wolf moon 8-bit poutine, street art you probably haven't heard of them venmo keffiyeh gentrify tbh. Man braid occupy cray, pinterest tilde before they sold out humblebrag heirloom poutine vape jean shorts. Etsy iPhone neutra banjo, 3 wolf moon XOXO four dollar toast tumblr hoodie pop-up synth art party freegan gastropub small batch. Gastropub plaid bespoke shaman chicharrones lomo food truck church-key. Raw denim lo-fi cold-pressed, kinfolk master cleanse selfies pickled butcher bushwick venmo food truck.</p>



                @import url('');
html {font-family: 'IBM Plex Mono', monospace;}
body {
  padding: 80px;
  margin: 0;
div {
  background-color: white;
  box-sizing: border-box;
  color: #5252ED;
  border-radius: 10px;
  padding: 1rem;
  width: 200px;
  width: 65ch;
  height: 20ch;
  margin: 0 auto;
  margin-bottom: 40px;
  transition: all 200ms ease-in-out;

.box1 {
  // box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.13), 
  //             0 2px 4px rgba(0, 0, 0, 0.2);

.box2 {
  // position: absolute;
  // z-index: -1;
  background-color: pink;