HTML CSS examples for CSS Layout:Box
Nowrap item overflowing its box
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- w w w.j a va2 s.c o m--> display:inline-block; padding:0; margin:0; } li { padding:2ex 2em; border-bottom:2px dashed Chartreuse; list-style-type:none; white-space:nowrap; font-size:3em; } </style> </head> <body> <ul> <li>Lore</li> <li>Lorem i</li> <li>Lorem ipsum</li> </ul> </body> </html>