CSS3 In-Depth CSS3 In-Depth

Transparency and color tips

Estelle Weyl
HTML5 & CSS3 in the Real World
Reducing an object’s opacity will make both the object and its children transparent. It’s often better to use a background color with transparency so the children of the object aren’t affected. Using RGBA or HSLA is often best for shadows. The appearance property in CSS allows developers to change the look of an element. Currently, the appearance property requires vendor prefixes.
Get Unlimited Access Now