mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
clarify, fix margin
This commit is contained in:
@@ -56,7 +56,7 @@ Here's an example of all the sub-components included in a default, light navbar:
|
|||||||
|
|
||||||
### Brand
|
### Brand
|
||||||
|
|
||||||
The `.navbar-brand` can be applied to most elements, but an anchor works best.
|
The `.navbar-brand` can be applied to most elements, but an anchor works best as some elements might require utility classes or custom styles.
|
||||||
|
|
||||||
{% example html %}
|
{% example html %}
|
||||||
<nav class="navbar navbar-light bg-faded">
|
<nav class="navbar navbar-light bg-faded">
|
||||||
@@ -64,7 +64,7 @@ The `.navbar-brand` can be applied to most elements, but an anchor works best.
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<nav class="navbar navbar-light bg-faded">
|
<nav class="navbar navbar-light bg-faded">
|
||||||
<h1 class="navbar-brand">Navbar</h1>
|
<h1 class="navbar-brand m-b-0">Navbar</h1>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
Reference in New Issue
Block a user