mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-11 03:52:27 +01:00
Fixed responsive navbar docs typo
The example given contradicts itself. The comments in the code claim `.navbar-collapse` will be hidden until 768px+ wide, but the line beneath uses `.nav-collapse`. The latter seems to actually work with the collapse plugin.
This commit is contained in:
parent
d87745d94d
commit
587cd6c0d6
@ -1312,7 +1312,7 @@ body { padding-bottom: 70px; }
|
||||
<!-- Be sure to leave the brand out there if you want it shown -->
|
||||
<a class="navbar-brand" href="#">Title</a>
|
||||
|
||||
<!-- Place everything within .navbar-collapse to hide it until above 768px -->
|
||||
<!-- Place everything within .nav-collapse to hide it until above 768px -->
|
||||
<div class="nav-collapse collapse navbar-responsive-collapse">
|
||||
...
|
||||
</div><!-- /.nav-collapse -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user