Wednesday, 15 July 2015

html - making a nav bar in bootstrap -


I'm trying to create a bootstrap nav bar like this:

I can only manage one:

And here is my code:

   

This is not too sensitive How can I make a responsive nav bar properly?

If you take a look at, you will notice that there are many errors in your code:

  • You have two navbar-header elements, you only have one more multiple and lt; Ul class = "nav navbar-nav" & gt; Element,
  • You can access your & lt; Navbar elements ( & lt; ul class = "nav navbar-nav" & gt; ) need to be wrapped in the div category = "Navbar-collapse collapse" & gt; to make the element responsive,
  • you own NAV can get rid of CSS so that you can already get the Navbar-fixed-top ,
  • you and lt; Ul class = "nav nav-pills" & gt; , where you can directly access & lt; A class = "dropdown-toggle" & gt;

etc ...

Perhaps you should try again to create the Naubar properly from the documentation.


No comments:

Post a Comment