Pen Settings



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


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


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.


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.




                $background: #1c1d25
$primary-one: #00FFFF
$primary-two: #F06449
$primary-three: #F06449
$primary-four: #E3E305
$primary-five: #E3E305
$primary-six: #00FFFF

body, html
  margin: 0px
  padding: 0px
  overflow: hidden

  position: absolute
  top: 0px
  left: 0px
  height: 400px
  width: 100%
  margin: 0px
  padding: 0px
  font-size: 0
  perspective: 1000px
  position: absolute
  top: 0px
  left: 0px
  height: 100vh
  width: 100%
  background: $background
  margin: 0px
  padding: 0px
  position: relative
  display: inline-block
  height: 50vh
  width: 25%
  z-index: 1
  margin: 0px
  padding: 0px
  position: absolute
  z-index: 1
  width: 50px
  height: 50px
  transform-style: preserve-3d
  transition: 2.8s
  top: 100px
  left: 150px
  transform: rotateX(120deg)
  animation: slow 10s linear 1

  bottom: -60px
  left: 70px
  transform: rotateY(30deg) rotateX(30deg)

  left: 330px
  bottom: 50px
  transform: rotateY(120deg) rotateX(-30deg)
  right: 245px
  bottom: 200px
  transform: rotateY(200deg) rotateX(-100deg)
  right: 175px
  bottom: -100px
  transform: rotateX(70deg)

  top: 30px
  left: 500px
  transform: rotateX(30deg) rotateY(30deg)
  left: 720px
  top: 250px
  transform: rotateX(55deg) rotateY(-55deg)
  position: absolute
  width: 50px
  height: 50px
  transform: translateZ(-25px)
  background: $primary-one
  transform: translateX(-25px) rotateY(90deg)
  background: $primary-two
  transform: translateX(25px) rotateY(90deg)
  background: $primary-three
  transform: translateY(-25px) rotateX(90deg)
  background: $primary-four
  transform: translateY(25px) rotateX(90deg)
  background: $primary-five
  transform: translateZ(25px)
  background: $primary-six
.section:nth-child(1):hover ~ .one
  transform: translate(-20px) translateZ(10px) rotateX(20deg) rotateY(20deg)
.section:nth-child(2):hover ~ .one
  transform: translateX(180px) translateZ(10px) rotateX(20deg) rotateY(90deg)
.section:nth-child(3):hover ~ .one
  transform: translateX(190px) translateZ(10px) rotateX(20deg) rotateY(120deg)
.section:nth-child(4):hover ~ .one
  transform: translateX(200px) translateZ(10px) rotateX(110deg) rotateY(120deg)
.section:nth-child(5):hover ~ .one
  transform: translateY(79px) translateZ(100px)
.section:nth-child(6):hover ~ .one
  transform: translateY(240px) translateX(30px) translateZ(-100px) rotateY(90deg)
.section:nth-child(7):hover ~ .one
  transform: translateY(245px) translateX(40px) translateZ(-100px) rotateX(280deg)
.section:nth-child(8):hover ~ .one
  transform: translateY(245px) translateX(40px) translateZ(-100px) rotateY(290deg)
.section:nth-child(1):hover ~ .two
  transform: translateY(-140px) rotateX(100deg) rotateY(140deg)
.section:nth-child(5):hover ~ .two
  transform: translateX(40px) rotateX(150deg) rotateY(300deg)
.section:nth-child(6):hover ~ .two
  transform: translateX(60px) rotateX(250deg) rotateY(390deg)
.section:nth-child(8):hover ~ .two
  transform: translateX(110px) rotateX(450deg) rotateY(390deg)
.section:nth-child(2):hover ~ .two
  transform: translateX(45px) translateY(-90px) rotateX(450deg) rotateY(390deg)
.section:nth-child(3):hover ~ .two
  transform: translateX(195px) translateY(-99px) rotateX(490deg) rotateY(190deg)
.section:nth-child(4):hover ~ .two
  transform: translateX(195px) translateY(-109px) rotateX(290deg) rotateY(190deg)
.section:nth-child(5):hover ~ .three
  transform: translateX(195px) translateY(-109px) rotateX(290deg) rotateY(190deg)
.section:nth-child(6):hover ~ .three
  transform: translateX(0px) translateY(0px) rotateX(10deg) rotateY(120deg)
.section:nth-child(7):hover ~ .three
  transform: translateX(115px) translateY(-20px) rotateX(190deg) rotateY(120deg)
.section:nth-child(8):hover ~ .three
  transform: translateX(175px) translateY(-40px) rotateX(100deg) rotateY(40deg)

.section:nth-child(1):hover ~ .three
  transform: translateX(-40px) translateY(-240px) rotateX(10deg) rotateY(40deg)
.section:nth-child(2):hover ~ .three
  transform: translateX(0px) translateY(0px) rotateX(10deg) rotateY(0deg)
.section:nth-child(3):hover ~ .three
  transform: translateX(90px) translateY(0px) rotateX(140deg) rotateY(0deg)

.section:nth-child(4):hover ~ .three
  transform: translateX(120px) translateY(0px) rotateY(-110deg) rotateX(10deg)
.section:nth-child(1):hover ~ .four
  transform: translateX(-90px) translateY(0px) rotateY(-110deg) rotateX(40deg) translateZ(100px)
.section:nth-child(2):hover ~ .four
  transform: translateX(-147px) translateY(0px) rotateY(-110deg) rotateX(140deg) translateZ(100px)
.section:nth-child(3):hover ~ .four
  transform: translateX(-77px) translateY(10px) rotateY(-20deg) rotateX(140deg) translateZ(50px)
.section:nth-child(4):hover ~ .four
  transform: translateX(240px) translateY(10px) rotateY(-40deg) rotateX(20deg) translateZ(90px)
.section:nth-child(5):hover ~ .four
  transform: translateX(0px) translateY(0px) rotateY(-90deg) rotateX(-260deg)
.section:nth-child(6):hover ~ .four
  transform: translateX(-130px) translateY(100px) rotateY(-490deg) rotateX(-260deg)
.section:nth-child(7):hover ~ .four
  transform: translateX(-90px) translateY(240px) rotateY(-290deg) rotateX(0deg)
.section:nth-child(8):hover ~ .four
  transform: translateX(130px) translateY(270px) rotateY(-210deg) rotateX(20deg)
.section:nth-child(1):hover ~ .five
  transform: translateX(-180px) translateY(-170px) rotateY(-210deg) rotateX(20deg)
.section:nth-child(2):hover ~ .five
  transform: translateX(-170px) translateY(-270px) rotateY(-110deg) rotateX(0deg)
.section:nth-child(3):hover ~ .five
  transform: translateX(-170px) translateY(-220px) rotateY(-110deg) rotateX(360deg)
.section:nth-child(4):hover ~ .five
  transform: translateX(0px) translateY(-320px) rotateY(-110deg) rotateX(360deg)
.section:nth-child(5):hover ~ .five
  transform: translateX(-300px) translateY(-10px) rotateY(-10deg) rotateX(160deg)
.section:nth-child(6):hover ~ .five
  transform: translateX(-300px) translateY(-10px) rotateY(360deg) rotateX(360deg)
.section:nth-child(7):hover ~ .five
  transform: translateX(-250px) translateY(-10px) rotateY(260deg) rotateX(260deg)
.section:nth-child(8):hover ~ .five
  transform: translateX(150px) translateY(-100px) rotateY(-260deg) rotateX(60deg)
.section:nth-child(1):hover ~ .six
  transform: translateX(-250px) translateY(100px) rotateY(-20deg) rotateX(60deg)
.section:nth-child(2):hover ~ .six
  transform: translateX(0px) translateY(0px) rotateY(-80deg) rotateX(10deg)
.section:nth-child(3):hover ~ .six
  transform: translateX(-30px) translateY(10px) rotateY(260deg) rotateX(360deg)
.section:nth-child(4):hover ~ .six
  transform: translateX(250px) translateY(-15px) rotateY(160deg) rotateX(-160deg)
.section:nth-child(8):hover ~ .six
  transform: translateX(250px) translateY(400px) rotateY(160deg) rotateX(-160deg)
.section:nth-child(7):hover ~ .six
  transform: translateX(180px) translateY(330px) rotateY(110deg) rotateX(205deg)
.section:nth-child(6):hover ~ .six
  transform: translateX(80px) translateY(330px) rotateY(-10deg) rotateX(42deg)
.section:nth-child(5):hover ~ .six
  transform: translateX(-200px) translateY(300px) rotateY(-40deg) rotateX(12deg)
.section:nth-child(1):hover ~ .seven
  transform: translateX(-300px) translateY(-200px) rotateY(-20deg) rotateX(72deg)
.section:nth-child(2):hover ~ .seven
  transform: translateX(-200px) translateY(-150px) rotateY(-40deg) rotateX(22deg)
.section:nth-child(3):hover ~ .seven
  transform: translateX(-70px) translateY(-170px) rotateY(20deg) rotateX(-110deg)
.section:nth-child(4):hover ~ .seven
  transform: translateX(270px) translateY(-190px) rotateY(-20deg) rotateX(290deg)
.section:nth-child(8):hover ~ .seven
  transform: translateX(230px) translateY(280px) rotateY(290deg) rotateX(-790deg)
.section:nth-child(7):hover ~ .seven
  transform: translateX(30px) translateY(300px) rotateY(190deg) rotateX(-290deg)
.section:nth-child(6):hover ~ .seven
  transform: translateX(-130px) translateY(240px) rotateY(100deg) rotateX(-10deg)
.section:nth-child(5):hover ~ .seven
  transform: translateX(-380px) translateY(290px) rotateY(170deg) rotateX(-10deg)