2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

alt attributes

This commit is contained in:
Mark Otto
2016-10-19 00:30:59 -07:00
parent 4ee28feb14
commit f8e4a531cf
+2 -2
View File
@@ -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>