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.


                <div id="winding"></div>


                // #divtober 20: Winding


  min-height: 220px
  height: 100vh
  position: relative
  background-color: burlywood

  position: absolute
  left: 50%
  top: 50%

    display: block
    content: ''
    position: absolute
  @media (max-width: 400px)
      transform: scale(.8)

  width: 15.5em
  height: 8em
  margin-left: -(@width/2 - .5em)
  margin-top: -(@height/2)
  background-repeat: no-repeat
  background-image: radial-gradient(circle, alpha(lemonchiffon,0) 25%,
                                            lemonchiffon 25.5%,
                                            lemonchiffon 50.5%,
                                            alpha(lemonchiffon,0) 51%),
                    radial-gradient(circle, alpha(khaki,0) 25%,
                                            khaki 25.5%,
                                            khaki 50%,
                                            alpha(khaki,0) 50.5%),
                    radial-gradient(circle, darken(saddlebrown,12) 50%, alpha(saddlebrown,0) 51%)
  background-size: 4em 4em,
                   4em 4em,
                   3.4em 3.4em
  background-position: 30% 0,
                       55% 0,
                       left -.45em bottom .8em
  border-radius: 0 4em 6em 0
  border-top:    .1em solid transparent
  border-right:  .7em solid saddlebrown
  border-bottom: .7em solid saddlebrown

    width: 13.5em
    height: 5em
    bottom: -1em
    right: 2.6em
    background-color: chocolate
    background-repeat: no-repeat
    background-image: radial-gradient(circle, darken(saddlebrown,20) 50%, alpha(saddlebrown,0) 51%)
    background-size: 4.5em 4.5em
    background-position: right .3em bottom -1.3em
    border-top-left-radius: 10em 5em
    border-top-right-radius: 4em
    border-bottom-right-radius: 1em
    box-shadow: inset -1.8em 1.2em 0 black(.15)

    width: 14em
    height: 10em
    right: 2.5em
    bottom: -1.5em
    background-repeat: no-repeat
    background-image: radial-gradient(circle at 50% 70%, darken(saddlebrown,3) 40%, alpha(saddlebrown,0) 41%),
                      radial-gradient(circle, darken(saddlebrown,20) 50%, alpha(saddlebrown,0) 51%),
                      radial-gradient(circle at 70% 50%, darken(saddlebrown,15) 40%, alpha(saddlebrown,0) 41%),
                      radial-gradient(circle, black 20%,
                                              #555 20%,
                                              #555 50%,
                                              black(0) 51%),
                      linear-gradient(to right, lemonchiffon 50%, khaki 50%),
                      radial-gradient(circle at 50% -.4em, #444 40%, black(0) 41%)
    background-size: 3.4em 3.4em,
                     .5em .5em,
                     1em 1em,
                     3.5em 3.5em,
                     1em 2.6em,
                     2em 1em
    background-position: left 1.9em bottom 3.1em,
                         left 1.7em bottom 2em,
                         left -.3em bottom .35em,
                         right .9em bottom -.3em,
                         56.5% 2.6em,
                         left 2em bottom -.5em


                // @lynnandtonic