Slide out CSS menu along with circle - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu

Description

Slide out CSS menu along with circle

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
#slidecontainer {<!--  ww w . j  a  v a  2  s  .co m-->
   position:relative;
   margin:auto;
   height:151px;
   width:301px;
   border:3px solid Chartreuse;
   border-radius:0 0 301px 301px;
   -moz-border-radius:0 0 301px 301px;
   -webkit-border-radius:0 0 301px 301px;
   background:red;
}

#slideout {
   position:absolute;
   top:96px;
   left:125px;
   -webkit-transition-duration:0.6s;
   -moz-transition-duration:0.6s;
   -o-transition-duration:0.6s;
   transition-duration:0.6s;
   height:51px;
   width:51px;
   border:2px solid yellow;
   border-radius:100px 100px 100px 100px;
   -moz-border-radius:100px 100px 100px 100px;
   -webkit-border-radius:100px 100px 100px 100px;
   background:green;
   line-height:51px;
   text-align:center;
}

#slideout.zero {
   z-index:2;
}

#slidecontainer:hover #slideout.one {
   left:26px;
   top:46px;
}

#slidecontainer:hover #slideout.two {
   left:71px;
   top:81px;
}

#slidecontainer:hover #slideout.three {
   left:223px;
   top:46px;
}

#slidecontainer:hover #slideout.four {
   left:179px;
   top:81px;
}
</style> 
 </head> 
 <body> 
  <div id="slidecontainer"> 
   <div id="slideout" class="zero">
     Lor 
   </div> 
   <div id="slideout" class="one">
     Lor 
   </div> 
   <div id="slideout" class="two">
     Lor 
   </div> 
   <div id="slideout" class="three">
     Lor 
   </div> 
   <div id="slideout" class="four">
     Lor 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials