If you specify each div with a shadow div, spec the shadow div to have a slightly lower z-index, make it black and set the transparency to say, 25%, it will put a shadow over whatever is "beneath" it.
Another alternative might be to use a PNG with transparency change, though PNG doesn't work IE<7
No tutorial really... just when you specify your div (assuming you are using fixed/relative positions and not float) you simply offset it an extra x/y (so if it has left 50, top 50, it become left : 55 if your offset is 5.
Make the transparency 50%, background black and hey presto
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.