views:

428

answers:

5

I'm interested to find which way of creating box shadows with css is most effective. But that I mean : ease of implementation, flexibility, and cross browser compatibility.

+1  A: 

Onion skinning is my personal favorite.

An example can be found in this alistapart article.

brad
A: 
Nikola Stjelja
A: 

See existing question:

http://stackoverflow.com/questions/253868/css-shadows-on-3-sides#253915

Diodeus
None of the presented solutions fit the bill in my opinion.
Nikola Stjelja
A: 

One way to do it, making it work easely and with cross browser coherency, is the jQuery Shadow plugin. If you don't overuse, it won't slow the page rendering. Otherwise, you could just wait until CSS3 becomes widely used ;)

voyager
I need to do it without resorting to hacks. Using js is one.
Nikola Stjelja