by flexxaeon · 13y ago · 0 comments
But I'm not sure if this is a fair assessment, as you're applying opacity to the div instead of the span.red, the element where the rule was applied. When adding opacity to the span the z-index stays intact
Adding opacity to the span has no effect because it already has position:absolute.