0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-30 22:52:24 +01:00

missed a modifier

This commit is contained in:
Mark Otto 2017-07-16 12:24:22 -07:00
parent e9c24b0cda
commit 5b584c2619

View File

@ -41,7 +41,7 @@ Note that depending on how they are used, badges may be confusing for users of s
Unless the context is clear (as with the "Notifications" example, where it is understood that the "4" is the number of notifications), consider including additional context with a visually hidden piece of additional text. Unless the context is clear (as with the "Notifications" example, where it is understood that the "4" is the number of notifications), consider including additional context with a visually hidden piece of additional text.
{% example html %} {% example html %}
<button class="btn"> <button class="btn btn-primary">
Profile <span class="badge badge-light">9</span> Profile <span class="badge badge-light">9</span>
<span class="sr-only">unread messages</span> <span class="sr-only">unread messages</span>
</button> </button>