Drop Down Nav Menus


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .custom ul#tabs li ul {
  2. display: none;
  3. position: absolute;
  4. list-style: none;
  5. }
  6.  
  7. .custom ul#tabs li ul li {
  8. float: none;
  9. border: 1px solid #ddd;
  10. margin-left: -1px;
  11. }
  12.  
  13. .custom ul#tabs li:hover ul {
  14. display: block;
  15. }
  16.  
  17. .custom ul#tabs {
  18. margin-bottom: -1px;
  19. }
  20.  
  21. .custom ul#tabs li.current_page_parent {
  22. background-color: #d5d5d5;
  23. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.