cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmloctocatspinnerstartv

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.

            
              <div class="container">
  
  <div class="main">
  
    <div class="circle c1">
      <div class="inner-C">
        <div class="inner-inner"></div>
        
        <div class="hole hole1">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
        
        <div class="hole hole2">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
        
        <div class="hole hole3">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
        
      </div>
    </div>
    
    <div class="circle c2">
      <div class="inner-C">
        <div class="inner-inner"></div>
        
        <div class="hole hole1">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
        
        <div class="hole hole2">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
        
        <div class="hole hole3">
          <div class="line h-Top"></div>
          <div class="line h-Right"></div>
          <div class="line h-Bottom"></div>
          <div class="line h-Left"></div>
        </div>
      </div>
    </div>
    
    
    <div class="m2">
    
      <div class="sRec"></div>
      
      <div class="rec">
        <div class="mini-Circle mc1"></div>
        <div class="mini-Circle mc2"></div>
        <div class="mini-Circle mcBig"></div>
        
        <div class="line line-Left"></div>
        <div class="line line-Left2"></div>
        
        <div class="line line-Right"></div>
        <div class="line line-Right2"></div>
      </div>
      
    </div>
    
    <div class="m3">
    
      <div class="nobs nobs1">
        <div class="mini-Circle mc3"></div>
        <div class="mini-Circle mc4"></div>
        <div class="mini-Circle mc5"></div>
      </div><!--
      
      --><div class="boxes boxes1">
        <div class="box box1">
          <div class="meter meter1"></div>
        </div>
        <div class="box box2">
          <div class="meter meter2"></div>
        </div>
      </div><!--
      
      --><div class="boxes boxes2">
        <div class="box box3">
          <div class="meter meter3"></div>
        </div>
        <div class="box box4">
          <div class="meter meter4"></div>
        </div>
      </div><!--
      
      --><div class="nobs nobs2">
        <div class="mini-Circle mc6"></div>
        <div class="mini-Circle mc7"></div>
        <div class="mini-Circle mc8"></div>
      </div>
    
    </div>
    
  </div>
  
  </div>
            
          
!
            
              *, *:after, *:before{-moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box}

body {
  background: #58c5c9;
  font-family: arial;
  margin: 0;
  padding: 0;
}
  
  /* artboard container */
    .container{padding:10% 0 0; width:12em; margin:0 auto}
    
    .container *{border:2px solid #fff;}
    
  /* main container */
    .main{
      height:10em;
      padding:.5em;
      position:relative;
      width:8.625em;
    }
  
  /* Main Areas 2(top) & 3(bottom) */
    .m2, .m3{
      position:relative;
      width:100%;
    }
   

    .m2{
     border-bottom:0;
     height:53%
    }
    
    
    /* Small Circles */
      .mini-Circle.mcBig{
        border-radius:300px;
        height:.725em;
        margin:.5em auto;
        width:.725em
      }
    
      .mc1, .mc2{
        position:absolute;
        top:4%;
      }
    
      .mc1{left:-1em}
      .mc2{right:-1em}
      .mcBig{
        bottom:-.66em;
        position:absolute;
        right:-1.2em;
      }
    
    /* Boxes */
      .rec{
        bottom:.2em;
        height:1.875em;
        left:32.5%;
        position:absolute;
        width:2.5em;
      }
      
      .sRec{
        bottom:.2em;
        left:.3em;
        height:.55em;
        position:absolute;
        width:1em;
      }
    
    /* Tape Lines */
      .line{
        background:#fff;
        border:0;
        height:.1875em;
        position:absolute;
      }
      
      .line-Left{
        left:-2.05em;
        -moz-transform:rotate(40deg);
        -webkit-transform:rotate(40deg);
        transform:rotate(40deg);
        top:.4em;
        width:1.3em
      }
      
      .line-Left2{
        left:-.4em;
        top:.76em;
        width:.4em;
      }
      
      .line-Right{
        right:-.64em;
        top:1.25em;
        -moz-transform:rotate(-32deg);
        -webkit-transform:rotate(-32deg);
        transform:rotate(-32deg);
        width:.6em;
      }
      
      .line-Right2{
        right:-1.66em;
        -moz-transform:rotate(-40deg);
        -webkit-transform:rotate(-40deg);
        transform:rotate(-40deg);
        top:.25em;
        width:1em
      }
    

    
    .m3{
      height:47%;
    }
    
    .circle{
      background:#58c5c9;
      border-radius:500px;
      height:5.25em;
      position:absolute;
      top:-1.926em;
      width:5.25em;
      z-index:3;
      
      -moz-animation:rotate 5s infinite linear;
      -webkit-animation:rotate 5s infinite linear;
      animation:rotate 5s infinite linear

    }
    
    
    @-moz-keyframes rotate{
      from {
        -moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
      }
      
      to {
        -moz-transform:rotate(360deg);
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
      }
    }
    @-webkit-keyframes rotate{
      from {
        -moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
      }
      
      to {
        -moz-transform:rotate(360deg);
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
      }
    }
    @keyframes rotate{
      from {
        -moz-transform:rotate(0deg);
        -webkit-transform:rotate(0deg);
        transform:rotate(0deg)
      }
      
      to {
        -moz-transform:rotate(360deg);
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
      }
    }
    
 
    .c1{
      left:-1.625em;
      
    }
    
    .c2{
      right:-1.625em;
    }
    
    .inner-C{
      border-radius:400px;
      height:29%;
      left:35%;
      position:absolute;
      top:35%;
      width:29%;
    }
    
    .inner-inner{
      border-radius:300px;
      height:36%;
      margin:33% auto;
      width:36%
    }
    
    .hole{
      border:0;
      height:1.175em;
      position:absolute;
      width:.8em;
    }
    
    .h-Top, .h-Bottom{
      height:.123em;
    }
      .h-Top{
        left:0;
        top:0;
        width:100%;
      }
      .h-Bottom{
        bottom:0;
        left:16%;
        width:72%
      }
      .h-Left, .h-Right{
        height:100%;
        top:0;
        width:.123em;
      }
      .h-Left{
        left:0;
        -moz-transform:rotate(-10deg);
        -webkit-transform:rotate(-10deg);
        transform:rotate(-10deg)
      }
      .h-Right{
        right:0;
        -moz-transform:rotate(10deg);
        -webkit-transform:rotate(10deg);
        transform:rotate(10deg)
      }
    
    .hole1{
      left:.2em;
      top:-1.6em; 
    }
    
    .hole2{
      right:1.5em;
      top:.9em;
      -moz-transform:rotate(-127deg);
      -webkit-transform:rotate(-127deg);
      transform:rotate(-127deg);
    }
    
    .hole3{
      left:1.5em;
      top:.9em;
      -moz-transform:rotate(127deg);
      -webkit-transform:rotate(127deg);
      transform:rotate(127deg);
    }
    
    .nobs{
      border:0;
      float:left;
      width:23%
    }
    
    .mini-Circle{
      border-radius:300px;
      height:.625em;
      margin:.5em auto;
      width:.625em
    }
    
    .boxes{
      border:0;
      float:left;
      padding-top:.25em;
      width:27%;
    }
    
    .box{
      height:1em;
      margin:.5em 0;
      overflow:hidden;
      position:relative;
    }
    
    .boxes1 .box{
      margin-right:.2em;
    }
    
    .boxes2 .box{
      margin-left:.2em;
    }
    
    .meter{
      background:#fff;
      border:0;
      bottom:-.19em;
      height:.6em;
      left:45%;
      position:absolute;
      width:.1875em;
    }
    
    .meter1{
      -moz-animation:bf .4s infinite linear alternate;
      -webkit-animation:bf .4s infinite linear alternate;
      animation:bf .4s infinite linear alternate;
    }
    .meter2{
      -moz-animation:fb .6s infinite alternate;
      -webkit-animation:fb .6s infinite alternate;
      animation:fb .6s infinite alternate;
    }
    .meter3{
      -moz-animation:fb 1.1s infinite alternate;
      -webkit-animation:fb 1.1s infinite alternate;
      animation:fb 1.1s infinite alternate;
    }
    .meter4{
      -moz-animation:bf .88s infinite linear alternate;
      -webkit-animation:bf .88s infinite linear alternate;
      animation:bf .88s infinite linear alternate;
    }

    @-moz-keyframes bf {
      from {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
      }
    
      to {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    }
    @-webkit-keyframes bf {
      from {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
      }
    
      to {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    }
    @keyframes bf {
      from {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
      }
    
      to {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    }
    
    @-moz-keyframes fb {
      from {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    
      to {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        transform:rotate(-60deg);
      }
    }
    @-webkit-keyframes fb {
      from {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    
      to {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        transform:rotate(-60deg);
      }
    }
    @keyframes fb {
      from {
        left:65%;
        -moz-transform:rotate(60deg);
        -webkit-transform:rotate(60deg);
        transform:rotate(60deg);
      }
    
      to {
        left:25%;
        -moz-transform:rotate(-60deg);
        -webkit-transform:rotate(-60deg);
        transform:rotate(-60deg);
      }
    }
            
          
!
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