This is an algorithm based off the MDN stacking context documentation to find all the parent stacking contexts of a given element.
The idea of this package is to make it easier to debug why your z-index may not be applied as you might expect it to.
This is an algorithm based off the MDN stacking context documentation to find all the parent stacking contexts of a given element.
The idea of this package is to make it easier to debug why your z-index may not be applied as you might expect it to.