Which CSS properties create a stacking context?
One or more of the following scenarios will cause an element to establish its own stacking context1 for its descendants: The root element always holds a root stacking context. This is why you can start arranging elements without having to position the root element first. Any element that doesn’t already participate in a local stacking … Read more