Friday, September 9, 2011

HTML5 :: div :: shadow

Give Shadow to a div in HTML5

HTML5
<div class="shadow">
Something
</div>

CSS
.shadow {
-moz-box-shadow: 0 0 30px 5px #999;
-webkit-box-shadow: 0 0 30px 5px #999;
}

No comments:

Post a Comment