A
A
Andrey Grigorash2021-06-09 12:23:16
css
Andrey Grigorash, 2021-06-09 12:23:16

How to make the main menu of the site on top of the modal window without fixing?

Please tell me, the site has a main menu in the nav tag. When opening a modal window, this menu should remain on top of all windows, including the modal one. I tried to make a fixed menu and z-index - I get the desired effect. But when scrolling the modal, the nav stays fixed, which is not true. How to do it right?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question