How to set the shadow using Css
18 Mar 2014, 01:52 PM
Set the shadow using box-shadow
class property. See the example below.
<style> .box { width:300px; height:100px; background-color:blue; box-shadow: 5px 5px 10px #313131; } </style>
Create box
class and assign it to the div
.
<div class="box"></div>