CSS Library: DIVs and containers: Here
CSS Gradient Shadow
Author: Michael Burt
This is a CSS and JavaScript technique that lets you add a shadow to most elements on your page with a customizable shadow depth and coloring. Just give the element in question a class name of "shadow" to activate the effect.

The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 4 of 7 pages « First < 2 3 4 5 6 > Last »
Everytime I visit this site I get something new to learn. It will help me in my all projects. Thanks..
i realy like the script but i want to know if you can change the direction of the shadow?
Just what I needed! Many thanks!
That is awesome! it looks very great!
Great tutorials. I just found it today.And will implement in my works.
nice and helpful article
This is very nice tutorial.
God live long you. Thank you very much!
God live long you. Thank you very much!
Very interesting and something worth playing around with
Great tutorial; however, using z-index in the style sheets can cause problems in some situations. To correct ths, delete the two z-index lines from the styles and replace this code:
document.body.appendChild(newSd)
with this code:
a[i].parentNode.insertBefore(newSd, a[i])
i++;
document.body.appendChild(newSd)
with this code:
a[i].parentNode.insertBefore(newSd, a[i])
i++;
Nice idea...
Another one for my list at http://www.kirkdesigns.co.uk/css-shadows-a-drop-shadow-roundup
Commenting is not available in this weblog entry.
Another one for my list at http://www.kirkdesigns.co.uk/css-shadows-a-drop-shadow-roundup







