HTML CSS examples for CSS Widget:Shape
Thick border to create shape
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .nice-box {<!-- w w w . j a va 2 s .c om--> border-top:11px solid Chartreuse; border-bottom:11px solid yellow; border-left:11px solid blue; border-right:11px solid pink; padding:11px; width:201px; height:201px; } </style> </head> <body> <div class="nice-box"> Lorem ipsum dolor sit a </div> </body> </html>