P
P
Pitman772019-08-20 18:47:10
css
Pitman77, 2019-08-20 18:47:10

Mobile menu. Can you suggest a solution?

Welcome all!

I looked all over the Internet, I did not find a suitable solution, unfortunately, so I have to ask for help. The point is - you need to make a menu for phones, but there are 2 main criteria:

1. Pull down - the div with the menu goes up (hidden), pull it up - the div with the menu leaves.

2. Because the menu is located between the content, then position: fixed is not suitable, it is necessary that when you pull down the div with the menu from the beginning of the page, it would stand in its place and, when returning from the bottom up, it would fall into place and no longer be shown above.

Do you have any ready-made solutions in mind, otherwise I'm practically an oak tree in jQuery? :)
I would be grateful for your help!

5d5c158a1b917901367477.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Lyskov, 2019-08-20
@Vlatqa

https://www.w3schools.com/howto/howto_js_navbar_hi...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question