CSS Menu add title link - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu

Description

CSS Menu add title link

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">
@charset "UTF-8";

#vertical_menu {<!-- ww  w  .  j av a2 s.  c  om-->
   float:left;
   padding-left:11px;
}

#vertical_menu>ul>li {
   display:inline-block;
   width:251px;
}

#vertical_menu>li {
   display:inline-block;
   list-style:none;
   margin-left:-21px;
}

#vertical_menu li a {
   display:block;
   padding-bottom:11px;
   margin-top:16px;
   border-bottom:5px solid Chartreuse;
   color:yellow;
   text-decoration:none;
   text-align:center;
   font-weight:100;
}

#vertical_menu li a:hover {
   border-color:blue;
   color:pink;
}

ul {
   padding:0px;
   margin:0px;
}

li:not(a) {
   color:OrangeRed;
   text-align:center;
   font-weight:601;
}
</style> 
 </head> 
 <body> 
  <div id="vertical_menu"> 
   <ul> 
    <li> <span>Lorem ipsu</span> </li> 
    <li> <a href="#">Lorem ipsum dolor </a> </li> 
    <li> <a href="#">Lorem ipsum do</a> </li> 
    <li> <a href="#">Lorem ipsum dolor </a> </li> 
    <li> <span>Lorem ipsu</span> </li> 
    <li> <a href="#">Lore</a> </li> 
    <li> <a href="#">Lore</a> </li> 
    <li> <a href="#">Lore</a> </li> 
    <li> <span>Lorem ipsu</span> </li> 
    <li> <a href="#">Lorem i</a> </li> 
    <li> <a href="#">Lorem ipsum dolor sit amet,</a> </li> 
    <li> <a href="#">Lorem ipsum</a> </li> 
    <li> <a href="#">Lorem ipsum dolor sit amet</a> </li> 
   </ul> 
  </div> 
  <!-- vertical_menu -->  
 </body>
</html>

Related Tutorials