W
W
weranda2016-08-31 11:56:56
css
weranda, 2016-08-31 11:56:56

How to hide horizontal menu items in a block when the width decreases?

Greetings

I can not figure out how to move the elements of the horizontal menu in and out of a separate block and back into the menu when it narrows and expands, respectively. Menu example.
645559932c8c4042b70f574ca842d864.png
1181895ac5a04b87a3ec52b912770273.png
Maybe there are ready-made scripts tested in battle!?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergei Nazarenko, 2016-08-31
@nazares

Bootstrap

A
A person from Kazakhstan, 2016-08-31
@LenovoId

in my opinion this question was yesterday - an example from there: codepen.io/lukejacksonn/pen/BowbWE

M
Mechanic, 2016-08-31
@bitrixweb

You make 2 blocks with a menu, for example. With the help of media queries, when the window width is more than 767px, for example, hide the mobile block, and show the desktop one. If the width is less - vice versa. Everything is simple, like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question