HTML CSS examples for CSS Widget:Div Border
Surround a div with a gradient border
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .panel-body {<!-- ww w . ja va 2 s . c om--> float: left; padding: 15px 30px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 20px #ccc; } .panel-body ul { list-style: none; padding: 0; margin: 0; } .panel-body li { font-size: 14px; padding: 3px 0; } </style> </head> <body> <div class="panel-body"> <ul> <li>Locomotives</li> <li>Radios</li> <li>Televisions</li> <li>Computers</li> <li>Monitors</li> <li>Satellites</li> <li>Spaceships</li> <li>Test</li> <li>Wash</li> </ul> </div> </body> </html>