If you need to design a navigation bar that changes layout in mobile views, which Bootstrap classes would you use?

  • navbar, navbar-expand-md, navbar-light, bg-light
  • navbar, navbar-toggle, navbar-inverse, bg-dark
  • navbar, navbar-expand-lg, navbar-dark, bg-dark
  • navbar, navbar-collapse, navbar-light, bg-light
To create a responsive navigation bar in Bootstrap that adapts to mobile views, you would use the navbar, navbar-expand-md, navbar-light, and bg-light classes. These classes help in creating a navigation bar that expands on medium-sized screens and has a light background.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *