A
A
Alexander Sharomet2017-09-12 16:33:29
css
Alexander Sharomet, 2017-09-12 16:33:29

How to leave some elements in bootstrap navbar on mobile?

I have a bootstrap 4 menu.
When the resolution is less than 1200, it collapses and all menu items are hidden. but is it possible to leave some elements somehow? For example, I do not want to collapse the basket.
Example

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rinatoptimus, 2017-09-13
@sharomet

I propose to create another basket OUTSIDE of this menu, let's call it hidden-lg. It should not be visible on large screens. But as soon as the menu collapses when the screen is reduced, hidden-lg becomes visible.

A
Alexander Sharomet, 2017-09-15
@sharomet

Here is the answer to my question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question