HTML CSS examples for CSS Property:box-shadow
Corner Radius with Box Shadow Inset
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from w w w . ja v a 2 s .c o m--> background:Chartreuse; } #wrapper { background:black; width:291px; height:291px; border-radius:4px; -moz-box-shadow:0 0 6px 2px black; -webkit-box-shadow:0 0 6px 2px black; box-shadow:0 0 6px 2px black; margin:6px; } .yellow { background:yellow; border-radius:7px; overflow:hidden; width:301px; height:301px; margin:41px auto; } </style> </head> <body> <div class="yellow"> <div id="wrapper"> </div> </div> </body> </html>