Last Updated: February 25, 2016
·
1.403K
· ericnicolaas

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