I’ve been researching on drop-shadow-effect technique for web design.
So, I would like to apply the technique to use implementing a top header bar for my website.
From my findings, the one that people out there use the most is box-shadow css property.
I’d like to know if this is the most effective yet simple way to achieve the desired outcome or not. any other options available for me to implement the same as well as their pros and cons?
any advice would be very much appreciated?
Simplest way is Photoshop 🙂
Otherwise, read on: http://www.css3.info/preview/box-shadow/
box-shadowis a CSS3 property, meaning it’s not available in < IE9, and not natively available in most browsers, hence the proprietary prefixes:Sample CSS code for IE drop shadow:
CSS3 version: