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 Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

Quick-add: + add another resource

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.

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/css3

$star-count: 200
  width: $radius
  height: $radius
  @-webkit-keyframes #{$name}
  @-moz-keyframes #{$name}
  @-ms-keyframes #{$name}
  @keyframes #{$name}
  position: absolute
  width: 100%
  height: 100%
  padding: 0
  margin: 0
  +animation(bgcolor 9s ease-in-out infinite)
  position: absolute
  top: 50%
  left: 50%
  +translate(-50%, -50%)
  background: #ffad00
  z-index: 1

  content: ""
  display: block
  position: absolute
  top: 3px
  left: 3px
  +animation(bgcolor 9s ease-in-out infinite, moon 9s ease-in-out infinite)

  background: #fff
  height: 2px
  width: 2px
  position: absolute
  +animation(twinkle 5s infinite)
  @for $i from 1 to $star-count+1        
    $delay: random(20)
      animation-delay: -#{$delay}s
      top: random(99) + vh
      left: random(99) + vw
    background-color: #fff
  43%, 57%
    background-color: #002038
    background-color: #fff

  0%, 10%
    left: -250px
  45%, 55%
    left: 3px
  90%, 100%
    left: 250px
    opacity: 1
    opacity: .3
    opacity: .3
    opacity: 1
    opacity: .3
Loading ..................