Columns with ul - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Column

Description

Columns with ul

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 {<!--from  w  w  w  .j  a va  2  s  .c  om-->
   background-color:yellow;
   -moz-column-count: 3;
   -webkit-column-count: 3;
   column-count: 3;
   column-rule: none;
}


      </style> 
 </head> 
 <body> 
  <ul> 
   <li>first</li> 
   <li>second</li> 
   <li>last</li> 
   <li>second</li> 
   <li>first</li> 
   <li>second</li> 
   <li>last</li> 
   <li>second</li> 
   <li>first</li> 
   <li>second</li> 
   <li>last</li> 
   <li>second</li> 
  </ul>  
 </body>
</html>

Related Tutorials