CSS overlapping tabs different widths - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Tab

Description

CSS overlapping tabs different widths

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">
ul li {
   display:inline-block;
   padding:0 26px;
   background:Chartreuse;
   color:yellow;
}
</style> <!--   w ww  .  ja  va  2s.  co  m-->
 </head> 
 <body> 
  <ul> 
   <li>Lorem </li> 
   <li>Lorem ipsum dolor sit</li> 
   <li>Lorem </li> 
  </ul>  
 </body>
</html>

Related Tutorials