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.

Quick-add: + add another resource

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.

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.

            
              <div class="diamonds"></div>
<div class="concentric-circles"></div>
<div class="pattern"></div>
<div class="cube"></div>
<div class="solid"></div>
            
          
!
            
              html {
  height: 100%;
  width: 100%;
}

body {
  background-color: #000;
  width: 100%;
  height: 100%;
  margin: 0;
}

.diamonds {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: #fff;
  background-image: repeating-linear-gradient(135deg, transparent, #000 25%), repeating-linear-gradient(225deg, transparent, #000 25%), repeating-linear-gradient(90deg, transparent, gold 25%), repeating-linear-gradient(45deg, transparent, gold 25%), repeating-linear-gradient(260deg, transparent, #000 25%), repeating-linear-gradient(0deg, #000, #000 25%);
  background-size: 50% 50%;
  -webkit-animation: diamonds 4s 6s both infinite alternate;
  /* Safari 4+ */
  
  -moz-animation: diamonds 4s 6s both infinite alternate;
  /* Fx 5+ */
  
  -o-animation: diamonds 4s 6s both infinite alternate;
  /* Opera 12+ */
  
  animation: diamonds 4s 6s both infinite alternate;
  /* IE 10+, Fx 29+ */
}

.concentric-circles {
  z-index: 10;
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  background: repeating-radial-gradient( circle at 0 0, transparent, gold 3%), repeating-radial-gradient( circle at top right, transparent, gold 3%);
  -webkit-animation: diamonds 6s infinite both alternate;
  /* Safari 4+ */
  
  -moz-animation: diamonds 6s infinite both alternate;
  /* Fx 5+ */
  
  -o-animation: diamonds 6s infinite both alternate;
  /* Opera 12+ */
  
  animation: diamonds 6s infinite both alternate;
  /* IE 10+, Fx 29+ */
}

.pattern {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-image: repeating-linear-gradient(225deg, transparent, #000 25%), repeating-linear-gradient(45deg, transparent, gold 25%);
  background-size: 100% 100%;
  -webkit-animation: diamonds 8s 2s infinite both alternate;
  /* Safari 4+ */
  
  -moz-animation: diamonds 8s 2s infinite both alternate;
  /* Fx 5+ */
  
  -o-animation: diamonds 8s 2s infinite both alternate;
  /* Opera 12+ */
  
  animation: diamonds 8s 2s infinite both alternate;
  /* IE 10+, Fx 29+ */
}

.cube {
  position: absolute;
  z-index: 9;
  width: 100%;
  opacity: 0;
  height: 100%;
  background-color: #556;
  background-image: linear-gradient(30deg, gold 12%, transparent 12.5%, transparent 87%, gold 87.5%, gold), linear-gradient(150deg, gold 12%, transparent 12.5%, transparent 87%, gold 87.5%, gold), linear-gradient(30deg, gold 12%, transparent 12.5%, transparent 87%, gold 87.5%, gold), linear-gradient(150deg, gold 12%, transparent 12.5%, transparent 87%, gold 87.5%, gold);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  -webkit-animation: cube 10s 10s infinite both alternate;
  /* Safari 4+ */
  
  -moz-animation: cube 10s 10s infinite both alternate;
  /* Fx 5+ */
  
  -o-animation: cube 10s 10s infinite both alternate;
  /* Opera 12+ */
  
  animation: cube 10s 10s infinite both alternate;
  /* IE 10+, Fx 29+ */
}

@-webkit-keyframes diamonds {
  to {
    opacity: 1;
  }
}

@-moz-keyframes diamonds {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-o-keyframes diamonds {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes diamonds {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
            
          
!
999px
Loading ..................

Console