Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


  .menu Hello, I'm a card


                $fonts = -apple-system, BlinkMacSystemFont, “Segoe UI”, Roboto, Helvetica, Arial, sans-serif

  box-sizing inherit
  padding 0
  margin 0
  font-family $fonts
  padding 0 10px
  box-sizing border-box
  height: 100vh
  background-image linear-gradient(-20deg, #ddd6f3 0%, #faaca8 100%, #faaca8 100%);

  width 200px
  height 300px
  margin-left auto
  margin-right auto
  margin-top 20vh
  margin-bottom 50px
  border-radius 5px
  cursor pointer
  box-shadow 0 10px 40px 2px rgba(0,0,0,0.4)
  background #000
  transform-origin center center 0px
  transition all .5s ease-out
  animation-name animate
  animation-duration 3s
  animation-iteration-count infinite
  transform perspective(1000px) rotateX(35deg) rotateY(4deg) rotateZ(-30deg)
  z-index 1
    animation unset
    margin-top 18vh
    transform perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg)
    display flex
    justify-content space-around
    align-items center
    max-width 100%
    height 100%
    color #fff
@keyframes animate
    margin-top 20vh
    margin-top 18vh
    margin-top 20vh