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.

            
              .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