Footer Items Expanding with Viewport - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Footer

Description

Footer Items Expanding with Viewport

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">
.footer li<!--   w w w . jav  a 2  s  .c  om-->
 {
   float:left;
   line-height:44px;
   padding:0 2%;
   text-align:center;
   color:Chartreuse;
   width:17%;
   border-right:2px solid yellow;
   background:grey;
}

.footer li:last-child
 {
   border:none;
}
</style> 
 </head> 
 <body> 
  <footer class="footer"> 
   <ul> 
    <li>Lorem ip</li> 
    <li>Lorem ip</li> 
    <li>Lorem ip</li> 
    <li>Lorem ip</li> 
    <li>Lorem ip</li> 
   </ul> 
  </footer> 
  <!-- end footer -->  
 </body>
</html>

Related Tutorials