Return to Snippet

Revision: 15362
at July 2, 2009 12:55 by webdevelopertut


Initial Code
HTML:
<div class="box-outer">
<div class="box-inner">
text

</div>
</div>

CSS:
.box-inner {
position:relative;
top:-3px;
left:-3px;
height:150px;
background:#aa0000;
}
.box-outer {
width:150px;
height:150px;
background:#333;
}

Initial URL
http://htmlcsstutorials.blogspot.com/2009/06/how-to-give-shadow-to-div-using-css.html

Initial Description

                                

Initial Title
How to give shadow to a div using css

Initial Tags
css

Initial Language
CSS