Use HSLA & RGBA colours for box shadows without a fallback
Quick tip: When setting up a box-shadow with RGBA or HSLA colours, don't worry about fallback colours. The browsers that don't support RGBA & HSLA also don't support box-shadow.
Reference: http://caniuse.com/css3-colors and http://caniuse.com/css-boxshadow
Written by Eric Daams
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Css
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#