If two elements with opacity 1-a
and 1-b
are stacked on top of each other, their combined opacity will be 1-a*b
, so there's no such thing as "opposite opacity values".
If you want two elements combined to be fully opaque, then one of them has to be fully opaque itself.
This mimics the real world as well: when you stack two dark foils that each absorbs 50% of light passing through, their combined opacity is 75%, not 100%. Three foils - 87.5% and so on.