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.


      h1 The best app you've #[br] ever seen
      p You'll be blown away with all it does
      button.Button Sign up


                @import url('');

break-large = 58rem

  --color-1: #21D4FD
  --color-2: #B721FF
  --color-3: #08AEEA
  --color-4: #2AF598
  font-family: 'Varela Round', sans-serif
  position: relative
  height: 80vh
  display: block
    position: absolute
    top: 0
    left: 0
    width: 100%
    height: 100%
    background: linear-gradient(19deg, var(--color-1), var(--color-2))
    transform-origin: 0px 0px
    transform: skewY(-10deg)
    overflow: hidden
    z-index: -1

      display: block
      position: absolute
      content: ''
      width: 80%
      height: (100%/3)
      opacity: .3
      filter: blur(15px)

      background: var(--color-1)
      right: 0

      background: var(--color-2)
      bottom: 0
    text-align: center
    padding: 4rem 4rem
    margin: 0 auto
    @media(min-width: break-large)
      text-align: left
      padding: 10rem 4rem
      max-width: 54rem
      display: flex
      justify-content: space-between
    h1, p
      color: white
      text-shadow: 0 .5rem 1rem rgba(50, 0, 100, .1)
      margin: 0
      font-size: 3rem 
      font-size: 1.5rem
      margin-bottom: 2rem
    position: relative
    margin-top: 5rem
    transform: rotate(-10deg)
    @media(min-width: break-large)
      margin: 0
      transform: translateY(-5rem) rotate(-10deg)
  padding: 1.5rem 2rem
  border: 0
  color: var(--color-3)
  font-size: 1.2rem
  font-weight: bold
  background: white
  border-radius: 3px
  transition: all .2s
  cursor: pointer
  box-shadow: 0 1.75rem 2rem -.4rem rgba(50, 0, 100, .15)
    color: var(--color-4)
    box-shadow: 0 1.75rem 3rem 0rem rgba(50, 0, 100, .1)
    transform: scale(1.05)
    box-shadow: 0 1.75rem 2.5rem -.2rem rgba(50, 0, 100, .125)
    transform: scale(1.025)
  display: inline-block
  background: white
  padding: 4rem .6rem 0
  border-radius: 2rem
  box-shadow: -1rem 1.75rem 2rem -.4rem rgba(50, 0, 100, .1), -.2rem .2rem .5rem rgba(50, 0, 100, .05), inset .5rem -.5rem .5rem -.4rem rgba(50, 0, 100, .1)
  text-align: center
    content: ''
    display: block
    background-color: var(--color-3)
    background-image: linear-gradient(0deg, var(--color-3) 0%, var(--color-4) 100%)
    width: 16rem
    padding-top: 177.5%
    display: inline-block
    margin: .6rem
    padding: 1.4rem
    border: 1px solid #f1f1f1
    border-radius: 2rem
    box-shadow:  inset -.05rem .05rem .5rem 0rem rgba(50, 0, 100, .05)