Is there a way to position a child element (with position:fixed
) below its parent element (also with position:fixed
)? I attempted to assign a lower z-index to the child element compared to the parent element, but it still shows up above the parent. Is there an alternative method to make the child element appear beneath the parent using a lower z-index?
What is the correct approach to achieve this?