Child element behind parent

0

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.

    
asked by anonymous 27.08.2018 / 17:32

1 answer

-1

Put the attribute: z-index: -1; on the child element. This will leave you behind the parent element

    
28.08.2018 / 04:24