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="slide">
     <div id="k-menu">
   <ul>
     
     <li class="music">
       <a><img src="http://www.jazbalive.com/wp-content/uploads/2013/02/Music_Icon_by_EranDarki.png">
          <p>NHẠC<p> 
       </a>
       
     </li>
         
         <li>
       <a><img src="http://icons.iconarchive.com/icons/kyo-tux/eko-folders/256/Video-icon.png">
          <p>VIDEO<p> 
       </a>
       
     </li>
         <li>
       <a><img src="https://forrst-live.s3.amazonaws.com/multiposts/images/9019/mega.png?1347445773">
          <p>TIN TỨC<p> 
       </a>
       
     </li>
         <li>
       <a><img src="http://icons.iconarchive.com/icons/raatsgui/laximus/256/iPhoto-icon.png">
          <p>ẢNH<p> 
       </a>
       
     </li>
         
         <li>
       <a><img src="http://samepage.io/cloud/img/file-sharing-folder.png?v=f42b9b6c11672abb801901f3de89c4277ada8b3b">
          <p>TÀI LIỆU<p> 
       </a>
       
     </li>
         
         
         
         <li>
           <a><img src="http://icons.iconseeker.com/png/fullsize/black-glamour/software.png">
          <p>PHẦN MỀM<p> 
         </a>
       
     </li>
             
         <li>
       <a><img src="http://fc03.deviantart.net/fs70/f/2011/162/e/d/tutorial__open_old_book_icon_by_seiorai-d3immgb.jpg">
          <p>HƯỚNG DẪN<p> 
       </a>
       
     </li>
         
         <li>
       <a><img src="http://us.123rf.com/400wm/400/400/rvlsoft/rvlsoft1209/rvlsoft120900039/15124013-smart-phone-with-icons-on-white-background.jpg">
          <p>ĐIỆN TỬ<p> 
       </a>
       
     </li>
     <li>
       <a><img src="http://dovolenka-usa.sk/files/2012/03/nakupovanie.jpg">
          <p>THỜI TRANG<p> 
       </a>
       
     </li>
         <li>
       <a><img src="http://c.dryicons.com/images/icon_sets/architecture_blueprint_icons_set/png/512x512/house_building.png">
          <p>VẬT LIỆU XD<p> 
       </a>
       
     </li>
         <li>
        <a><img src="http://albanycountyda.com/Libraries/Generic_images/bank-icon.sflb.ashx">
          <p>NGÂN HÀNG<p> 
        </a>
       
         </li>
          <li>
        <a><img src="http://us.123rf.com/450wm/aleksvf/aleksvf1211/aleksvf121100011/16306840-golden-top-ten-icon-isolated-on-white-background-3d-rendered-image.jpg">
          <p>XẾP HẠNG<p> 
        </a>
       
         </li>
      </ul>
    </div><!--id="k_menu"-->
            <div class="menu_music" >
              <div class="music_hot">
                <p>Music Hot</p>
                 <ul>
                     <li><a><img src="https://lh4.ggpht.com/QYk3j6K9LyW2-Ubbm1uA9FUw9g8kL0T6G3o_v2uIFWuf8agvve2S_COr9PjqQMK-ud0=w300">
                     <p>Nhạc Trẻ</p></a></li>
                     
                      <li><a><img src="http://i1.r7.com/data/files/2C95/948F/3AC0/DD53/013A/C1AF/8012/7616/dj-g.jpg">
                     <p>DJ</p></a></li>
                        
                     <li><a><img src="http://static.appota.com/uploads/icon/082013/thumbs/1024x10245.png">
                     <p>K-Pop</p></a></li>
                       
                       <li><a><img src="https://lh6.ggpht.com/AOA-vy_evFIYmDLHxf7vmJD8t_25E4d8ia5xMwW_lgsbrwRJ4r9aTVSCWGqCacg1TQ=w300">
                     <p>Âu-Mỹ</p></a></li>
                         
                      <li><a><img src="https://d8kyhhndkm363.cloudfront.net/8/413822/icon.png">
                     <p>J-Pop</p></a></li>
                        
                      <li><a><img src="https://si0.twimg.com/profile_images/842584756/icon_cpop_bigger.png">
                     <p>C-Pop</p></a></li>
                        
                      <li><a><img src="http://vietdorje.com/uploads/images/products/thai-radio/icon-thairadio.png">
                     <p>T-Pop</p></a></li>
                        
                      <li><a><img src="http://www.nhaccodien.info/forum/image.php?u=25536&dateline=1346056489">
                     <p>Trữ Tình</p></a></li>
                        
                      <li><a><img src="https://www.customlabelmusic.com/clm/zdbpath/catpix/dance-music-licensing.jpg">
                     <p>Dance</p></a></li>
                        
                      <li><a><img src="https://api.ning.com/files/I8T04TMPt7fsnU3LErLUvsJC8JxNo0GWio8B07*ks1RvfLqTEVwqOCPuZwvzso1gGOia17KBOAtrkn9PG15Yx*fL2w9*G38b/kid_music.276205115_std.gif">
                     <p>Thiếu Nhi</p></a></li>
                        
                      <li><a><img src="http://images4.fanpop.com/image/photos/24100000/Piano-Wallpaper-music-24173627-1920-1200.jpg">
                     <p>Hòa Tấu</p></a></li>
                        
                      
                 </ul>
              </div>
            </div>
            
      </div><!--div="#slide"-->
<div id="w-menu">

     <div id="menu">
      
        <ul class="logo">
          <li><a href="#"><img src="http://www.kosmoshop.it/Images/PoweredByGoogle2.png">
            </a></li>
          <li class="star"><a href="#"><img src="http://upload.wikimedia.org/wikipedia/commons/f/f5/Star_max-b.png">
            </a></li>
            </ul><!--class="logo"-->
      
      
         <ul class="seach">
            <li><input type="text" value="Seach" ></li>
              <li><button>Tim</button></li>
               <li><button>Upload</button></li>
             
         </ul><!--class="seach"-->
        
       
           <ul class="com">
             <li><a href="#"><img src="http://cdn.overclock.net/1/11/40x40px-ZC-1159d372_hp-logo.gif">
               <p class="name">HP Company</p>
               <p class="tt">T/T : 87/1245</p>
               
              
               </a>
               
             <li>
            
               
          </ul><!--class="com"-->
        
          <ul class="member">
            
            <li class="mem-logo"><a href="#"><img src="https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/c3.0.175.175/s160x160/65732_547337045306689_358297624_a.jpg">
              <p> Tieu Phong</p>
              <p class="tt">T/T :1000/1245</p>
              </a><li>
              <li class="bank"><a href="#"><img src="http://www.iconarchive.com/download/i67040/petalart/free-shopping/money-wallet.ico">
                <p>M :1.000.000 $</p>
                </a> </li>
              
              <li class="setting"><a><img src="http://www.samsung.com/us/system/support/content/2013/01/24/h9446/Icon_Settings.png"></a></li>
                   
          </ul><!--class="member"-->  
        
      </div> <!--end #menu-->        

 
 </div><!--div="#w-menu"-->
            
          
!
            
              *{
  margin:0;
  padding:0;
}
body{
  background:transparent url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRa2HSxEOYqWhHf9zORzz1XV8TOZkUOf3IyHge_nr_NKYAPqoSb');
  
  font-family:Umt Avo;
}

li {
  list-style: none;
  float:left;
 
 
} 
a {
  text-decoration:none;
  display:block;
}
 li a:hover{
  background:#999;
}
#w-menu{
  width:100%;
  height:50px;
  background:#FE0002;

   position:absolute;
 
}
#slide{
  width:1200px;
  height:auto;
  margin:0 auto;
  position:relative;
}
#menu{
  width:1200px;
  height:50px;
  margin: auto;
  
}

.logo{
  float:left;
  width:150px;  
}
.star img{
  width:40px;
  hieght:40px;
}
.logo li a{
  height:45px;
  padding:5px 0 0 0; 
}
.seach{
  width:500px;
  height:50px;
  float:left;
 
}
.seach li {

  height:50px;
}
.seach li input{
  height:25px;
  margin:9px 10px 0 0;
  width:350px;
}
.seach li button{
  height:30px;
  margin:9px 2px 9px;
  width:60px; 
  cursor:pointer;
}
.com{
  width:160px;
  float:left;
  display:block;
  height:50px;
  position:relative;
  
 
}
.com li a img{
   margin: 4px 5px 4px 10px;
  float:left;
  
}
.com li a {
  height:50px;
  width:160px;
  color:yellow;
  
}
.com li a p.name {
  float:left;
}
.com li a p.tt{
  position:absolute;
   text-align:center;
  bottom:5px;
  left:55px;
  clear:both;
}
.member{
 width:387px;
  height:50px;
  float:right;
  
 
}
ul.member li a img {
  width:40px;
  height:40px;
  margin:4px;
  float:left;
}
.mem-logo{
  width:160px;
  height:50px;
 
}
.mem-logo p{
  color:yellow;
  float:left;
}
.mem-logo p.tt{
  margin-top:5px;
}
.bank{
  width:160px;
}
.bank p {
  width:100%;
  height:50px;
  color:yellow;
  
}

.setting{
  float:right;
}
#k-menu{
  width:1200px;
  height:72px;
  margin:0 auto;
  background:rgba(255,100,255,0.3);
  border-radius:5px;
  position:absolute;
  top:-72px;
  display:none;
  
 
}
#k-menu ul li a img{
  width:50px;
  height:50px;
  margin-top:2px;
 
}
#k-menu ul li {
  width:100px;
  
  text-align:center;
  
  font-size:60%;
  font-weight: bold;
}
#k-menu ul li a{
 
 height:100%;
  width:100%;
 cursor:pointer;
}
#k-menu ul li p{
  margin:3px;
  color:#fcfa3c;
}
.menu_music {
  width:1200px;
  height:auto;
  position:absolute;
  top:1000px;
  display:none;
  
  
}
.menu_music ul{
  width:1100px;
  margin:2px auto;
  
}
.menu_music ul li{
  width:100px;
  text-align:center;
}
.menu_music{
  color:yellow;
}
.menu_music img{
  height:80px;
  width:80px;
}


            
          
!
            
              $(function(){
  var   sao=$('.star'),
     wkmenu=$('#k-menu').width(),
     hkmenu=$('#k-menu').height(),
       wdw =$(window).width();
  
  sao.mouseenter(function(){
    $('#k-menu').stop().css({'top': -hkmenu ,'left':0,'display':'block'});
    $('#k-menu').animate({'top':hkmenu-22,'left':0},800);
  });
  $('.music').mouseenter(function(){   $('.menu_music').stop().animate({'top':122,'left':0},1000).css('display','block')}
     );
});
            
          
!
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