CSS3 Box Shadow

Here is an example:

#firstblock {
-moz-box-shadow: 10px 10px 5px #888;
-webkit-box-shadow: 10px 10px 5px #888;
box-shadow: 10px 10px 5px #888;
}

Numbers are listed as follows horizontal offset, vertical offset, optional blur distance, color.


Leave a Reply

Your email address will not be published. Required fields are marked *

*