prevent opacity inheritance
1 min readAug 7, 2019
In Chrome 26.0.1410.63, this is wrong. Setting opacity: .7;
on div#container
makes every child element — from ul
/li
to img
to p
— also have the same opacity. It is most certainly inherited