Skip to content

An algorithm to identify the parent z-index stacking contexts of a given DOM node/element.

Notifications You must be signed in to change notification settings

sfrieson/find-stacking-contexts

Repository files navigation

Find Stacking Contexts

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.

About

An algorithm to identify the parent z-index stacking contexts of a given DOM node/element.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published