Imagine you have two <div>
elements, one with an opacity of .5 and another overlaying it with the same opacity. What would be the combined opacity of the two?
Interestingly, it's not as simple as,
- .5 × .5
or even,
- .5 + .5
How can this problem be calculated?