HTML CSS examples for CSS Widget:Border
Add spacing between double borders at bottom of <ul> with <li> elements
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> ul {<!-- ww w . j ava 2 s .co m--> border-bottom:2px solid Chartreuse; padding-bottom:2px; } ul li { border-top:2px solid yellow; } ul li:last-child { border-bottom:2px solid blue; } </style> </head> <body> <ul> <li>here's one </li> <li>here's another one</li> <li>here's the last one</li> </ul> </body> </html>