badge badge-primary
class element. Replaced primary
by success
, info
, warning
, danger
or royal
, depending on the color you want.
<ul class="list-group"> <li class="list-group-item">...</li> <li class="list-group-item"><span class="label label-royal pull-right">New</span> ...</li> <li class="list-group-item">...</li> <li class="list-group-item"><span class="badge badge-primary">98</span> ...</li> <li class="list-group-item">...</li> </ul>
striped
shading in columns of links.
This only works with lists of items, not linked lists.
div
element of class list-group
composed of elements a
of the class list-group-item
.
You can also use badges and flags. as in Item Lists.
list-item-group-success
or -info
, -warning
, -danger
, -royal
for coloring and highlighting elements of a list.
list-group-sm
class to make more compact lists.
active
to highlight the currently active element.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Soluta, vitae.!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque, facilis.!
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nam, nobis?!
media
class to display multimedia content with a description beside her. They can be images, videos or other multimedia objects.
Use the media-object
classes and media-heading
for the media item and the item title respectively.