This particular piece has a lot of relative positions (for various reasons) but that prevents children with absolute positions from functioning as you'd expect.
Here's a child with another child (hover me) that's having z-index problems and can't show above the content below.
- These items will show above
- The marked element above
- even with absolute positioning
The
parentsUntil();
function lets you traverse up from the marked element to a specified parent and run a function on each of them as needed, such as this z-index fix.