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.

            
              .container
  .wrapper
    .black
    .circle
    .circle.two
    .circle.three
    .circle.four
    .circle.five
    .circle.six
    .circle.seven
    .circle.eight
    .circle.nine
    .circle.ten


            
          
!
            
              size(n)
  height n
  width n
  
*
  box-sizing border-box
.container
  height 100vh
  width 100%
  position absolute
  display flex
  justify-content center
  align-items center
  align-content center
  overflow hidden
  .wrapper
    size 200px
    //background red
    position relative
    display flex
    justify-content center
    align-items center
    align-content center
    .black
      size 100px
      background radial-gradient(black 5%, darkblue)
      opacity 0.97
      border-radius 50%
      position absolute
      transform-origin center center
      z-index 0
      top 100px
      left 100px
    .circle
      border-radius 50%
      background black
      background repeating-linear-gradient(
      to left,
      black,
      black 50%, 
      dodgerblue 50%,
      deeppink  
      )
      background-size 10px
      size 200px
      position absolute
      top 50px
      left 50px
      z-index -1
      //border 1px solid deeppink
      box-shadow 0px 0px 10px 1px black
      // MAKES YOUR EYES BLEED 
      //mix-blend-mode difference
      transform-origin center
      animation spin1 10s linear infinite
    .two
      z-index -2
      animation spin2 10s linear infinite reverse
      animation-delay 0.5s
    .three
      z-index -3
      animation spin3 10s linear infinite
      animation-delay 1s
    .four
      z-index -4
      animation spin4 10s linear infinite reverse
      animation-delay 1.5s
    .five
      z-index -5
      animation spin5 10s linear infinite
      animation-delay 2s
    .six
      z-index -6
      animation spin6 10s linear infinite reverse
      animation-delay 2.5s
    .seven
      z-index -7
      animation spin7 10s linear infinite
      animation-delay 3s
    .eight
      z-index -8
      animation spin8 10s linear infinite reverse
      animation-delay 3.5s
    .nine
      z-index -9
      animation spin9 10s linear infinite
      animation-delay 4s
    .ten
      z-index -10
      animation spin10 10s linear infinite reverse
      animation-delay 4.5s

for n in 1..10           
  @keyframes spin{n} {
    from {
      transform rotate(0deg) scale(n)
      filter hue-rotate(0deg)
    }
    to {
      transform rotate(360deg) scale(n)
      filter hue-rotate(60deg)
    }
  }
  
            
          
!
999px
Loading ..................

Console