HTML CSS examples for CSS Property:box-shadow
Box-shadow only on one side of an element
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .wrapper<!--from www . java 2 s . c om--> { width:81%; margin:6%; } .leftcol { width:71%; float:left; } .shaddowcontainer { overflow:hidden; width:31%; } .rightcol { float:right; width:91%; padding-left:6px; box-shadow:0px 0px 11px Chartreuse; } </style> </head> <body> <div class="wrapper"> <div class="leftcol"> <p>Lorem ipsum</p> <br> <br> <br> <br> <br> <br> <br> <br> </div> <div class="shaddowcontainer"> <div class="rightcol"> <p>Lorem ipsum </p> <br> <br> <br> <br> <br> <br> <br> <br> </div> </div> </div> </body> </html>