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.

  input#cbx.hidden-xs-up type="checkbox"/
  label.cbx for="cbx" 
  label.lbl for="cbx" Make Magic
  position relative
  top 1px
  width 17px
  height 17px
  border 1px solid #C8CCD4
  border-radius 3px
  vertical-align middle
  transition background .1s ease
  cursor pointer
    content ''
    position absolute
    top 1px
    left 5px
    width 5px
    height 11px
    opacity 0
    transform rotate(45deg) scale(0)
    border-right 2px solid white
    border-bottom 2px solid white
    transition all .3s ease
    transition-delay .15s 

  margin-left 5px
  vertical-align middle
  cursor pointer
#cbx:checked ~ .cbx
  border-color transparent
  background #6871F1
  animation jelly .6s ease
    opacity 1
    transform rotate(45deg) scale(1)
@keyframes jelly
    transform scale(1, 1)
    transform scale(1.25, 0.75)
    transform scale(0.75, 1.25)
    transform scale(1.15, 0.85)
    transform scale(.95, 1.05)
    transform scale(1.05, .95)
    transform scale(1, 1)

  position absolute
  top 50%
  left 0
  width 100%
  text-align center
Loading ..................