Bootstrap Navbar
What is a Navbar?
A navbar is a navigation bar that is typically placed at the top of a web page. It contains links to different sections of the website, as well as other information such as a logo, search bar, or contact information.
Navbar Toggler
The navbar-toggler class is used to create a button that can be used to collapse the navbar when the screen size is small. This is useful for making sure that the navbar does not take up too much space on mobile devices.
Navbar Classes
The navbars can use the following classes to control their appearance and behavior:
- navbar-toggler: This class is used to create a button that can be used to collapse the navbar when the screen size is small.
- navbar-collapse: This class is used to create a container for the navbar content that can be collapsed.
- navbar-expand-sm-md-lg-xl-xxl: These classes are used to control the size of the navbar when the screen size is small, medium, large, extra large, or extra extra large.
Komentar