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.

              $size: 1000px
$height-ratio: 1.3
  height: 100vh
  background-color: black
  transform: translate(-(50%*1/$height-ratio), -50%)
  top: 50%
  left: 50%
  $num-wheels: 12
  height: $size
  width: $size*$height-ratio
  position: relative
  //transform: rotateY(89deg)
  transform-origin: 50% 50% 0px
    color: transparent
    opacity: 0.2
    display: block
    width: $size
    height: $size
    border-radius: 50%
    transform: scale(0.5)
    /* color wheels */
    $step: 360deg/$num-wheels
    @for $i from 1 through $num-wheels+1
        $color: $step*$i
        background: linear-gradient(hsl($color, 100%, 50%), hsl($color, 100%, 40%))
        animation: spin 5s infinite
        animation-delay: 1s/$num-wheels * $i + 0s
    position: absolute
    top: 0
@keyframes spin
    transform: rotateX(0deg) scale(0.5)
    transform: rotateX(90deg)
    transform: rotateY(180deg) scale(1)
    transform: rotateX(270deg)
    transform: rotateY(360deg) translateX(0px)  scale(0.5) 
Loading ..................