cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


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.

              @import compass

$stripe-color: rgb(210,230,240)
$stripe-dark: darken($stripe-color, 5%)


  width: 30em
  height: 14em
  background: gray
  margin: -3em auto
  position: relative
  line-height: 2em
  font-family: monospace
  padding: 8em 1em 0
  +background(linear-gradient($stripe-dark 1%, white 1%, white 50%, $stripe-dark 50%, $stripe-color 52%))
  color: rgb(20,20,50)
  background-size: 100% 4em
  +filter(drop-shadow(2px 2px 5px rgba(black, .25)))
  z-index: 10
  -webkit-animation: print 3s linear
  &::before, &::after
    content: ''
    position: absolute
    top: 0
    width: 2em
    height: inherit
    background: salmon
    +background(radial-gradient(transparent 24%, white 24%) 0 0)
    background-size: 2em 2em
    left: -2em
    border-right: 1px dashed rgba($stripe-color, .7)
    border-top-left-radius: 2px
    border-bottom-left-radius: 2px
    right: -2em
    border-left: 1px dashed rgba($stripe-color, .7)
    border-top-right-radius: 2px
    border-bottom-right-radius: 2px

  height: 100%
  width: 100%
  +background(linear-gradient(rgb(200,50,50), rgb(190,40,40)))
  background-repeat: no-repeat
  background-attachment: fixed
  font-size: 18px

@-webkit-keyframes print

Loading ..................