HTML CSS examples for CSS Layout:Box
Creating bevel effect for content box
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #one {<!--from ww w. ja va 2 s . c o m--> border:6px outset Chartreuse; width:201px; background:white; text-align:center; } #two { border-top:6px solid yellow; border-bottom:6px solid blue; border-left:6px solid pink; border-right:6px solid OrangeRed; width:201px; background:white; text-align:center; } </style> </head> <body> Lorem ipsum dolor sit amet, consectetur adipi <div id="one"> Lorem ipsum </div>Lorem ipsum dolor sit amet, consectetur adipiscin <div id="two"> Lorem ipsum </div> </body> </html>