mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
alt attributes
This commit is contained in:
parent
4ee28feb14
commit
f8e4a531cf
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ Adding images to the `.navbar-brand` will likely always require custom styles or
|
||||||
<!-- Just an image -->
|
<!-- Just an image -->
|
||||||
<nav class="navbar navbar-light bg-faded">
|
<nav class="navbar navbar-light bg-faded">
|
||||||
<a class="navbar-brand" href="#">
|
<a class="navbar-brand" href="#">
|
||||||
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30">
|
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" alt="">
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
@ -93,7 +93,7 @@ Adding images to the `.navbar-brand` will likely always require custom styles or
|
||||||
<!-- Image and text -->
|
<!-- Image and text -->
|
||||||
<nav class="navbar navbar-light bg-faded">
|
<nav class="navbar navbar-light bg-faded">
|
||||||
<a class="navbar-brand" href="#">
|
<a class="navbar-brand" href="#">
|
||||||
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top">
|
<img src="{{ site.baseurl }}/assets/brand/bootstrap-solid.svg" width="30" height="30" class="d-inline-block align-top" alt="">
|
||||||
Bootstrap
|
Bootstrap
|
||||||
</a>
|
</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Add table
Reference in a new issue