Horizontal menu hide first list style and show the rest - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu

Description

Horizontal menu hide first list style and show the rest

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">
#menuUL {<!-- w  w w  . ja  v a2s.com-->
   font-size:33px;
   padding:0;
}

#menuUL>li:first-of-type {
   list-style-type:none;
}

#menuUL li {
   float:left;
   margin-left:36px;
}
</style> 
 </head> 
 <body> 
  <div id="photoMenu"> 
   <ul id="menuUL"> 
    <li>Lor</li> 
    <li>Lorem ipsum </li> 
    <li>Lorem </li> 
    <li>Lore</li> 
   </ul> 
  </div>  
 </body>
</html>

Related Tutorials