Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                .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        
              
            
!

CSS

              
                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
  }
}
              
            
!

JS

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

Console