Create link header - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Header

Description

Create link header

Demo Code

ResultView the demo in separate window

<html lang="en">
 <head> 
  <style>
ul {<!--from  ww w .j a v a2s.  c  om-->
   box-sizing:border-box;
   background-color:Chartreuse;
   width:100%;
   padding:11px;
   text-align:justify;
   line-height:0;
}

ul:after {
   content:'';
   display:inline-block;
   width:100%;
   vertical-align:top;
}

li {
   display:inline-block;
   line-height:normal;
   margin:6px 0px;
}

li a {
   display:block;
   background-color:yellow;
}
</style> 
 </head> 
 <body translate="no"> 
  <ul> 
   <li> <a>Lorem </a> </li> 
   <li> <a>Lorem </a> </li> 
   <li> <a>Lorem </a> </li> 
   <li> <a>Lorem ipsum dolor</a> </li> 
   <li> <a>Lorem ipsum </a> </li> 
   <li> <a>Lorem ipsum</a> </li> 
  </ul>  
 </body>
</html>

Related Tutorials