HTML CSS examples for CSS Widget:UL Horizontal
Div with horizontal list
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .footer {<!-- ww w . jav a2s . c o m--> background-color:Chartreuse; } .footer-text { background-color:yellow; padding:11px 0px 11px 6px; margin:0; } ul.dots { display:inline; margin:0; } li { display:inline; font-size:51px; line-height:21px; } li:nth-of-type(n+2) { color:blue; } </style> </head> <body> <div class="footer"> <span class="footer-text">Lorem</span> <ul class="dots"> <li>L</li> <li>L</li> <li>L</li> <li>L</li> </ul> </div> </body> </html>