3 ms·
I found the rule about absolutely positioned elements interesting given that I often thought their containing block was the closest relatively positioned parent
by varrock 5y ago
I found the rule about absolutely positioned elements interesting given that I often thought their containing block was the closest relatively positioned parent. As outlined in that documentation, though, it's just the closest element that is not statically positioned.
- christophilus 5y agoOh, wow. That explains a few baffling bugs I’ve seen.