I have two parent and child elements with position fixed in both, how do I get the child to stay behind the parent? I have a bottom menu (parent), when clicked opens the submenu (animation) child appearing behind the menu.
I have two parent and child elements with position fixed in both, how do I get the child to stay behind the parent? I have a bottom menu (parent), when clicked opens the submenu (animation) child appearing behind the menu.
Put the attribute: z-index: -1;
on the child element. This will leave you behind the parent element