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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

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


                <div class="blue-bg"></div>
<div class="white-bg shadow"></div>
<div class="content">
  <h1>Slanted & Enchanted</h1>
  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin magna ex, elementum id convallis eu, elementum id justo. Maecenas dictum sagittis leo, ut ultrices risus mollis vitae. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus
    eu lectus felis. Vivamus eget velit erat. Vivamus condimentum augue sed lacus viverra imperdiet. Etiam quis lectus non libero hendrerit porta. In sit amet molestie lacus. Praesent ultricies, lectus eget porta porttitor, sem sapien facilisis arcu,
    eu tincidunt nulla odio ac ipsu.</p>

  <p>Praesent eu arcu convallis, faucibus turpis eu, rutrum nisi. Integer rutrum ipsum at aliquam consequat. In dignissim lorem nibh, nec iaculis est fermentum vitae. Maecenas sodales, nunc eget lacinia volutpat, nibh mi lobortis leo, id varius urna tellus
    ut magna. Sed porttitor nunc et luctus efficitur. Nam sit amet congue nulla. Praesent dapibus erat arcu, at scelerisque arcu faucibus vel. Morbi blandit venenatis elit. Nam feugiat bibendum suscipit. Donec viverra eu lorem eu venenatis. Nullam posuere
    nulla id libero rutrum venenatis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam molestie ac velit vel blandit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis


                @import url(
@import url('')

  font-family: 'Montserrat', sans-serif

  font-family: 'Open Sans', sans-serif
  text-align: justify

  position: fixed
  background: url(
  background-size: cover
  background-color: #58aff6
  top: 0
  height: 400px
  width: 100vw
  z-index: -1
  overflow-x: hidden

  position: absolute
  top: 0
  background-color: #fff
  min-height: 500px
  margin: 210px 0px
  width: 100vw
  height: 100vh
  transform: skewY(5deg)
  z-index: -1

  position: absolute
  top: 0
  margin: 250px 10vw
  max-width: 60vw
  background-color: transparent
  box-shadow: -2px -5px 5px 0px rgba(0,0,0,0.3)



                /*-- Notes:

Header IMG:   Change image by swapping out url in .blue-bg
              Make solid color by removing 'background' properties
Slant angle:  Modify skewY degree in .white-bg
Top distance: Slant distance from top = margin in .white-bg
              Text distance from top = margin in .content
Fixed Header: 'turn off' with "position: absolute" in .blue-bg