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.

            
              body {
  animation: background 60s infinite linear alternate;
  background-image: linear-gradient(-45deg, #FEFC5B, #9DB556, #81A15B, #093346, #0D3D4F, #02141D, #02141D, #285E62, #658E60, #BECC56, #FAF656, #FEFC5B, #FAF656, #BECC56, #658E60, #285E62, #02141D, #02141D, #0D3D4F, #093346, #81A15B, #9DB556, #FEFC5B);
  background-size: 250% 250%;
}

.logo {
  background-color: #111;
  border-radius: 100%;
  box-shadow: 0 0 0 15px hsla(0,0%,100%,.05);
  display: block;
  height: 150px;
  left: 50%;
  margin: -75px;
  opacity: .9;
  position: absolute;
  top: 50%;
  width: 150px;
}
.logo:after,
.logo:before {
  content: '';
  background: #000;
  height: 5px;
  position: absolute;
  width: 10px;
}
.logo:after {
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: -44px 10px 0 #fff,
              -42px 10px 0 #fff,
              -40px 1px 0 #111,
              -40px 2px 0 #111,
              -40px 3px 0 #111,
              -40px 4px 0 #111,
              -40px 5px 0 #111,
              -40px 6px 0 #111,
              -40px 7px 0 #111,
              -40px 8px 0 #111,
              -40px 9px 0 #111,
              -40px 10px 0 #111,
              -40px 0 0 10px #fff,
              0 1px 0 #111,
              0 2px 0 #111,
              0 3px 0 #111,
              0 4px 0 #111,
              0 5px 0 #111,
              0 6px 0 #111,
              0 7px 0 #111,
              0 8px 0 #111,
              0 9px 0 #111,
              0 10px 0 #111,
              0 0 0 10px #fff,
              40px 1px 0 #111,
              40px 2px 0 #111,
              40px 3px 0 #111,
              40px 4px 0 #111,
              40px 5px 0 #111,
              40px 6px 0 #111,
              40px 7px 0 #111,
              40px 8px 0 #111,
              40px 9px 0 #111,
              40px 10px 0 #111,
              40px 0 0 10px #fff;
  left: 70px;
  top: 65px;
}
.logo:before {
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  box-shadow: -24px 1px 0 #fff,
              -22px 1px 0 #fff,
              -30px -10px 0 #fff,
              -30px -9px 0 #fff,
              -30px -8px 0 #fff,
              -30px -7px 0 #fff,
              -30px -6px 0 #fff,
              -30px -5px 0 #fff,
              -30px -4px 0 #fff,
              -30px -3px 0 #fff,
              -30px -2px 0 #fff,
              -30px -1px 0 #fff,
              -30px 0 0 #fff,
              -30px 1px 0 #fff,
              -30px 2px 0 #fff,
              -30px 3px 0 #fff,
              -30px 4px 0 #fff,
              -30px 5px 0 #fff,
              -30px 6px 0 #fff,
              -30px 7px 0 #fff,
              -30px 8px 0 #fff,
              -30px 9px 0 #fff,
              0 -1px 0 #111,
              0 -2px 0 #111,
              0 -3px 0 #111,
              0 -4px 0 #111,
              0 -5px 0 #111,
              0 -6px 0 #111,
              0 -7px 0 #111,
              0 -8px 0 #111,
              0 -9px 0 #111,
              0 -10px 0 #111,
              0 0 0 10px #fff,
              40px -1px 0 #111,
              40px -2px 0 #111,
              40px -3px 0 #111,
              40px -4px 0 #111,
              40px -5px 0 #111,
              40px -6px 0 #111,
              40px -7px 0 #111,
              40px -8px 0 #111,
              40px -9px 0 #111,
              40px -10px 0 #111,
              40px 0 0 10px #fff,
              70px -10px 0 #fff,
              70px -9px 0 #fff,
              70px -8px 0 #fff,
              70px -7px 0 #fff,
              70px -6px 0 #fff,
              70px -5px 0 #fff,
              70px -4px 0 #fff,
              70px -3px 0 #fff,
              70px -2px 0 #fff,
              70px -1px 0 #fff,
              70px 0 0 #fff,
              70px 1px 0 #fff,
              70px 2px 0 #fff,
              70px 3px 0 #fff,
              70px 4px 0 #fff,
              70px 5px 0 #fff,
              70px 6px 0 #fff,
              70px 7px 0 #fff,
              70px 8px 0 #fff,
              70px 9px 0 #fff;
  left: 50px;
  top: 78px;
}

@keyframes background {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}
            
          
!
999px
Close

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.

Go PRO

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

Console