Negative z-index and isolution: isolate are the best friends
All childs with negative z-index will be hidden by any parent to that background-color is set. But isolation: isolate stops it. Just add it to the parent and elements with negative z-index start to position from it 💡
❤ Thank you so much, my sponsors: Ben Rinehart, Tatiana Ten, Catherine Starobor-Strakhova, Vlad Bazhanov