HTML CSS examples for CSS Widget:UL Element
wrap lists after 5 element
<html> <head> <title>Lorem ipsum</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w w w . j a v a2 s . c om--> display:grid; grid-template-rows:repeat(6, 2fr); grid-auto-flow:column; } </style> </head> <body> <div> <ul> <li>Lorem ipsum dolo</li> <li>Lorem ipsum dol</li> <li>Lorem ipsum dolor sit amet, </li> <li>Lorem ipsum dolor</li> <li>Lorem ipsum dolor si</li> <li>Lorem ipsum dolor sit a</li> <li>Lorem ipsum dolor sit ame</li> <li>Lorem ipsum dolor s</li> <li>Lorem ipsum dolo</li> <li>Lorem ipsum dol</li> </ul> </div> </body> </html>