forked from varia/varia.website
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
420 B
16 lines
420 B
7 years ago
|
Badges
|
||
|
===============================================================================
|
||
|
.. lead:: Easily highlight new or unread items by adding a <span class="badge">
|
||
|
to links, Bootstrap navs, and more.
|
||
|
|
||
|
|
||
|
.. container:: bs-example
|
||
|
|
||
|
`Inbox <#>`_ :badge:`42`
|
||
|
|
||
|
|
||
|
Self collapsing
|
||
|
|
||
|
When there are no new or unread items, badges will simply collapse (via CSS's
|
||
|
`:empty` selector) provided no content exists within.
|