HTML CSS examples for CSS Widget:UL Horizontal
Horizontal list with nested lists that display vertically
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .parent>li { display:inline-block; margin-right:31px; } .parent>li:before { font-size:21px; content:'\1a0\2023\1a0\1a0'; } </style> <!-- w ww. jav a 2 s. c o m--> </head> <body> <ul class="parent"> <li>Lor <ul class="child"> <li>Lo</li> <li>Lo</li> <li>Lo</li> </ul> </li> <li>Lor <ul class="child"> <li>Lo</li> <li>Lo</li> <li>Lo</li> </ul> </li> </ul> </body> </html>