A CSS drop shadow
Pre 2006
copyright © stu nicholls - CSS play
Information
Just an example of a drop shadow applied to a div without using graphics.
This is achieved by using a set of three nested divs for the graduated shadow effect and a final 'nested' div for the text. This final div is as large as the first shadow div and covers the top left of the drop shadows. The square cut-out div is just for effect.
With CSS3 box shadow styles this is more or less redundant.
Copyright
You may use this method on your personal 'non-profit' web site without seeking my permission. A link back to CSSplay is always appreciated.
Commercial usage is also permitted without seeking approval, but I would ask that a donation is considered to support my work on CSSPlay.
If you are having problems integrating any of my demonstrations into your website then I now offer a service to fault find and correct any errors that you may have introduced. Please email me for more information.
Please ask permission before using or copying this example to your web site.




