Creating bevel effect for content box - HTML CSS CSS Layout

HTML CSS examples for CSS Layout:Box

Description

Creating bevel effect for content box

Demo Code

ResultView the demo in separate window

<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>

Related Tutorials