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.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

            
              .main
  .wrapper
    .container
      .circle
      .circle.two
      .circle.three
      .circle.four
      .circle.five
      .circle.six
      .cirlce.seven
      .circle.seven
      .circle.eight
      .circle.nine
      .circle.ten
      .circle.eleven
      .circle.twelve

.overlay
  .main
    .wrapper
      .container
        .circle
        .circle.two
        .circle.three
        .circle.four
        .circle.five
        .circle.six
        .cirlce.seven
        .circle.seven
        .circle.eight
        .circle.nine
        .circle.ten
        .circle.eleven
        .circle.twelve

.overlay.double
  .main
    .wrapper
      .container
        .circle
        .circle.two
        .circle.three
        .circle.four
        .circle.five
        .circle.six
        .cirlce.seven
        .circle.seven
        .circle.eight
        .circle.nine
        .circle.ten
        .circle.eleven
        .circle.twelve        
            
          
!
            
              body
  background radial-gradient(circle, white,deeppink, darkblue)
  background-size cover
  background-repeat no-repeat
  overflow hidden
  height 100vh
  width 100%

.overlay.double
  z-index 3
  transform scale(2.2)
  mix-blend-mode luminosity
  /*mess with this
  background red*/
  .main
    animation rotation 7s linear infinite
    .circle
      box-shadow 0px 0px 10px 10px white
  
.overlay
  transform scale(2)
  position absolute
  bottom 0.4%
  left 40.5%
  mix-blend-mode hard-light
  .main 
    animation rotation 4s linear infinite
    
.main
  display flex
  justify-content center
  align-content center
  align-items center
  flex-direction row
  height 100vh
  transform scale(2)
  opacity 0.3
  filter saturate(10)
  //mix-blend-mode screen
  position relative
  z-index 1
  animation rotation 5s linear infinite
  
.wrapper
  //background green
  height 300px
  width 300px

.container
  position relative
  bottom 150px
  //background red
  height 300px
  width 300px

.circle
  background radial-gradient(blue, rgba(255,255,255,0.4))
  height 300px
  width 300px
  border-radius 50%
  transform-origin center bottom
  position absolute
  mix-blend-mode screen
  box-shadow 1px 1px 10px 2px rgba(255,255,255, 0.9)
.two
  transform rotate(30deg)
.three
  transform rotate(60deg)
.four
  transform rotate(90deg)
.five
  transform rotate(120deg)
.six
  transform rotate(150deg)
.seven
  transform rotate(180deg)
.eight
  transform rotate(210deg)
.nine
  transform rotate(240deg)
.ten
  transform rotate(270deg)  
.eleven
  transform rotate(300deg)
.twelve
  transform rotate(330deg)  

@keyframes rotation {
  from {
    transform rotate(1deg)
    transform-origin center center
  }
  to {
    transform rotate(359deg)
    transform-origin center center
  }
}
            
          
!
            
              //Best Viewed Full Screen. In Chrome. For Reals. Although the firefox version is charming. also relax those eyes. stair at the center. Mess with the blend modes, and colors. change deeppink to limegreen. It's pretty fly.
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console