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.

+ add another resource

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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 id="body" class="clearfix">

  <div class="cr-menu">
    <div class="cr-hover"></div>
    
    <div class="cr-item it-1"></div>
    <div class="cr-item it-2"></div>
    <div class="cr-item it-3"></div>
    <div class="cr-item it-4"></div>
    <div class="cr-item it-5"></div>
    <div class="cr-item it-6"></div>
    
    <div class="cr-cont"></div>
  </div>


  <div class="cr-menu">
    <div class="cr-hover bg-none"></div>
    
    <div class="cr-item it-1"></div>
    <div class="cr-item it-2"></div>
    <div class="cr-item it-3"></div>
    <div class="cr-item it-4"></div>
    <div class="cr-item it-5"></div>
    <div class="cr-item it-6"></div>
    
    <div class="cr-cont"><p></p></div>
  </div>
</div> <!--body-->
            
          
!
            
              
/*==== Clearfix ====*/
.clearfix:after {visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0;}
.clearfix {display: inline-block;}
.clearfix {display: block; zoom: 1;}


/*==== General ====*/

#body {
  background: #ddd;
 	padding: 100px 0 150px 0;
}

#body .bg-none {background: none;}

.cr-menu {
  float: left;
  margin: 50px 100px 0 150px;
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 50%;
  z-index: 1;
  display: block;
}


/*==== Kontainer Menu ====*/

.cr-cont {
  width: 60px;
  height: 60px;
  background: url(http://cahcepu.com/blog/v3/anim/plus1.png) no-repeat center top;
  position: relative;
  border-radius: 100%;
  border: 2px solid #fff;
  -moz-transition: 1.5s ease;
  -webkit-transition: 1.5s ease;
  transition: 1.5s ease;
}

.cr-menu:hover .cr-cont {
  -moz-transform: rotate(490deg);
  -webkit-transform: rotate(490deg);
  transform: rotate(490deg);
}


/*==== Untuk area hover ====*/

.cr-hover {
  width: 60px;
  height: 60px;
  background: cyan;
  opacity: 0.5;
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 0;
  -moz-transition: 0.3s ease;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}

.cr-menu:hover .cr-hover {
  -moz-transform: scale(5);
  -webkit-transform: scale(5);
  transform: scale(5);
}	


/*==== Item Menu ====*/

.cr-item {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;				
}

.it-1,
.it-2,
.it-3,
.it-4,
.it-5,
.it-6 {
  
  /*==== Kode transisi di semua item ====*/
  
  -moz-transition-duration: 0.3s;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  
  -moz-transition-timing-function: linear;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}


/*==== Item Pertama ====*/

.it-1 {
  background: red;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  top: 15px;
  left: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  
}

.cr-menu:hover .it-1 {
  top: -60px;
  left: -60px;
  
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-1 1s 1 linear;
  -webkit-animation: it-1 1s 1 linear;
  animation: it-1 1s 1 linear;
}

@-moz-keyframes it-1 {
  0% {-moz-transform: rotate(-360deg); top: 15px; left: 15px;}
  50% {-moz-transform: rotate(0deg); top: -70px; left: -70px;}
  100% {-moz-transform: rotate(360deg); top: -60px; left: -60px;}
}

@-webkit-keyframes it-1 {
  0% {-webkit-transform: rotate(-360deg); top: 15px; left: 15px;}
  50% {-webkit-transform: rotate(0deg); top: -70px; left: -70px;}
  100% {-webkit-transform: rotate(360deg) top: -60px; left: -60px;;}
}

@keyframes it-1 {
  0% {transform: rotate(-360deg); top: 15px; left: 15px;}
  50% {transform: rotate(0deg); top: -70px; left: -70px;}
  100% {transform: rotate(360deg); top: -60px; left: -60px;}
}					


/*==== Item Kedua ====*/

.it-2 {
  background: green;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  top: 15px;
  left: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.3s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.cr-menu:hover .it-2 {
  top: -100px;
  
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-2 1.1s 1 linear;
  -webkit-animation: it-2 1.1s 1 linear;
  animation: it-2 1.1s 1 linear;
  
}

@-moz-keyframes it-2 {
  0% {-moz-transform: rotate(-360deg); top: 15px;}
  50% {-moz-transform: rotate(0deg); top: -110px;}
  100% {-moz-transform: rotate(360deg); top:-100px;}
}

@-webkit-keyframes it-2 {
  0% {-webkit-transform: rotate(-360deg); top: 15px;}
  50% {-webkit-transform: rotate(0deg); top: -110px;}
  100% {-webkit-transform: rotate(360deg); top:-100px;}
}

@keyframes it-2 {
  0% {transform: rotate(-360deg); top: 15px;}
  50% {transform: rotate(0deg); top: -110px;}
  100% {transform: rotate(360deg); top:-100px;}
}


/*==== Item Ketiga ====*/

.it-3 {
  background: blue;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  top: 15px;
  right: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.4s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.cr-menu:hover .it-3 {
  top: -60px;
  right: -60px;
  
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-3 1.2s 1 linear;
  -webkit-animation: it-3 1.2s 1 linear;
  animation: it-3 1.2s 1 linear;
  
}

@-moz-keyframes it-3 {
  0% {-moz-transform: rotate(-360deg); top: 15px; right: 15px;}
  50% {-moz-transform: rotate(0deg); top: -70px; right: -70px}
  100% {-moz-transform: rotate(360deg); top:-60px; right: -60px; }
}

@-webkit-keyframes it-3 {
  0% {-webkit-transform: rotate(-360deg); top: 15px; right: 15px;}
  50% {-webkit-transform: rotate(0deg); top: -70px; right: -70px}
  100% {-webkit-transform: rotate(360deg); top:-60px; right: -60px; }
}

@keyframes it-3 {
  0% {transform: rotate(-360deg); top: 15px; right: 15px;}
  50% {transform: rotate(0deg); top: -70px; right: -70px}
  100% {transform: rotate(360deg); top:-60px; right: -60px; }
}


/*==== Item Keempat ====*/

.it-4 {
  background: yellow;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  bottom: 15px;
  right: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.cr-menu:hover .it-4 {
  bottom: -60px;
  right: -60px;
  
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-4 1.2s 1 linear;
  -webkit-animation: it-4 1.2s 1 linear;
  animation: it-4 1.2s 1 linear;
  
}

@-moz-keyframes it-4 {
  0% {-moz-transform: rotate(-360deg); bottom: 15px; right: 15px;}
  50% {-moz-transform: rotate(0deg); bottom: -70px; right: -70px}
  100% {-moz-transform: rotate(360deg); bottom:-60px; right: -60px; }
}

@-webkit-keyframes it-4 {
  0% {-webkit-transform: rotate(-360deg); bottom: 15px; right: 15px;}
  50% {-webkit-transform: rotate(0deg); bottom: -70px; right: -70px}
  100% {-webkit-transform: rotate(360deg); bottom:-60px; right: -60px; }
}

@keyframes it-4 {
  0% {transform: rotate(-360deg); bottom: 15px; right: 15px;}
  50% {transform: rotate(0deg); bottom: -70px; right: -70px}
  100% {transform: rotate(360deg); bottom:-60px; right: -60px; }
}


/*==== Item Kelima ====*/

.it-5 {
  background: cyan;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  bottom: 15px;
  left: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.cr-menu:hover .it-5 {
  bottom: -100px;
  
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-5 1.3s 1 linear;
  -webkit-animation: it-5 1.3s 1 linear;
  animation: it-5 1.3s 1 linear;
}

@-moz-keyframes it-5 {
  0% {-moz-transform: rotate(-360deg); bottom: 15px;}
  50% {-moz-transform: rotate(0deg); bottom: -110px;}
  100% {-moz-transform: rotate(360deg); bottom:-100px; }
}

@-webkit-keyframes it-5 {
  0% {-webkit-transform: rotate(-360deg); bottom: 15px;}
  50% {-webkit-transform: rotate(0deg); bottom: -110px;}
  100% {-webkit-transform: rotate(360deg); bottom:-100px; }
}

@keyframes it-5 {
  0% {transform: rotate(-360deg); bottom: 15px;}
  50% {transform: rotate(0deg); bottom: -110px;}
  100% {transform: rotate(360deg); bottom:-100px; }
}


/*==== Item Keenam ====*/

.it-6 {
  background: magenta;
  background: url(http://cahcepu.com/blog/v3/anim/plus2.png) no-repeat center top;
  bottom: 15px;
  left: 15px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  -moz-transition-delay: 0.7s;
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
}
.cr-menu:hover .it-6 {
  bottom: -60px;
  left: -60px;
  
  -moz-transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  transform: rotate(-360deg);
  
  /*==== Animasi Efek Bouncing ====*/
  -moz-animation: it-6 1.4s 1 linear;
  -webkit-animation: it-6 1.4s 1 linear;
  animation: it-6 1.4s 1 linear;
  
}

@-moz-keyframes it-6 {
  0% {-moz-transform: rotate(-360deg); bottom: 15px; left: 15px;}
  50% {-moz-transform: rotate(0deg); bottom: -70px; left: -70px}
  100% {-moz-transform: rotate(360deg); bottom:-60px; left: -60px; }
}

@-webkit-keyframes it-6 {
  0% {-webkit-transform: rotate(-360deg); bottom: 15px; left: 15px;}
  50% {-webkit-transform: rotate(0deg); bottom: -70px; left: -70px}
  100% {-webkit-transform: rotate(360deg); bottom:-60px; left: -60px; }
}

@keyframes it-6 {
  0% {transform: rotate(-360deg); bottom: 15px; left: 15px;}
  50% {transform: rotate(0deg); bottom: -70px; left: -70px}
  100% {transform: rotate(360deg); bottom:-60px; left: -60px; }
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console