Answer the question
In order to leave comments, you need to log in
Is it possible to create a menu in bootstrap in which, when clicked, the page will scroll down?
I want that when clicking on the menu items, the page goes down to the desired block.
It seems there was a class in bootstrap that can allow this (I don’t own JS)
Answer the question
In order to leave comments, you need to log in
getbootstrap.com/javascript/#scrollspy
<a href="#example">Example</a> // Ссылка
<div id="#example"></div> // Блок
You need to raise the "Menu" block one tag higher, along with the button itself. And you most likely have them separated. Look at the nav-togle example (Collapse with a small display. Here it scrolls the data after itself)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question