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.


  a.btn href="#modal"
    | Abrir Modal

  a.modal--close href="#"
    | &times;
      a href="#"
        | Fechar modal
      | Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet vero non consectetur doloribus sapiente. Ipsum accusamus, iure excepturi quasi repellat, debitis fuga, labore, aspernatur cumque dolorem commodi reprehenderit soluta quae!


  font-size: 16px
  box-sizing: border-box
  box-sizing: inherit

  height: 100%
  width: 100%
  text-align: center
  padding: 2em 0 0
  font-size: 1rem
  background-color: #f1f1f1
  color: #434343
  display: table
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif

  display: table-cell
  vertical-align: middle
  color: #068
  text-decoration: none

  margin-top: 0
  line-height: 50px
  padding: 0 20px
  color: #fff
  font-size: 1.2rem
  display: inline-block
  font-weight: 300
  text-decoration: none
  border-radius: 3px
  text-transform: uppercase
  cursor: pointer
  background-color: #16a085
  box-shadow: 0 5px 15px #193047
  overflow: hidden
  letter-spacing: .05rem
  transition: box-shadow .1s linear, background-color .1s linear
    box-shadow: 0px 2px 10px 5px #1abc9c
    background-color: darken(#16a085, 6%)

  background-color: rgba(#16a085,.9)
  position: fixed
  z-index: 100
  display: none
  width: 100%
  height: 100%
  top: 0
  left: 0
  right: 0
  bottom: 0
  padding: 3em

    position: fixed
    top: 10px
    right: 10px
    text-decoration: none
    color: rgba(255,255,255,.5)
    font-size: 2.6rem
    max-width: 600px
    background-color: #fff
    margin: 0 auto
    padding: 2em
    border-radius: 5px
    transform: translateY(-100%)
    transition: all 2s ease-in-out .2s
    box-shadow: 0 6px 20px rgba(#000, .2)
    display: block

      animation: animateModal .2s ease-in-out
      animation-fill-mode: forwards

@keyframes animateModal
    transform: translateY(-100%)
    transform: translateY(0)


                // ===================================
// Created by
// ===================================