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.

      a.back(href = '#')
      a.back(href = '#')
      a.back(href = '#')
      a.back(href = '#')
              *, *:before, *:after
  box-sizing: border-box
  margin: 0
  padding: 0
  width: 100vw
  height: 100vh
  display: flex
  align-items: center
  justify-content: center
  background-image: radial-gradient(farthest-corner at 50% 0, circle , white, #67989A)
.button, .soc-but
  width: 7rem
  height: 7rem
  background: #042037
  position: relative
  perspective: 300px
  display: flex
  align-items: center
  justify-content: center
  font-size: 4rem
  color: white
  &:hover .fb
    transform: rotateY(180deg)
  &:hover .tw
    transform: rotateY(-180deg)
  &:hover .gp
    transform: rotateX(180deg)
  &:hover .vk
    transform: rotateX(-180deg)
  position: absolute
  left: 0
  top: 0
  transition: transform 0.4s ease
  transform-style: preserve-3d
  width: 100%
  height: 100%
  backface-visibility: hidden
  display: flex
  align-items: center
  justify-content: center
  font-size: 3.5rem
  color: white
  text-decoration: none
.vk .back, .gp .back
  transform: rotateX(180deg)
.tw .back, .fb .back
  transform: rotateY(180deg)
.fb .back
  background: #3b5998
.vk .back
  background: #45668e
.tw .back
  background: #00aced
.gp .back
  background: #dd4b39
.fb, .vk
  transform-origin: 0% 0%
.gp, .tw
  transform-origin: 100% 100%
  transition-delay: 0.1s
  transform: rotateY(-90deg)
  transition-delay: 0.2s
  transform: rotateX(90deg)
  transform: rotateX(-90deg)
  transition-delay: 0.3s
  transform: rotateY(90deg)

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................