The most basic list group is an unordered list with list items and the proper classes. Add .active
& .disabled
classes for states.
Add .list-group-flush
to remove some borders and rounded corners to render list group items edge-to-edge in a parent container.
Use contextual classes to style list items with a stateful background and color.
Use .list-group-inv .list-group-inv-*
to change the appearance of list group items.
Add badges to any list group item to show unread counts, activity, and more with the help of some flex utilities.
Use anchor or button tag to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action
.
Add nearly any HTML within, even for linked list groups like the one below, with the help of flexbox utilities.
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
Donec id elit non mi porta.Use the tab JavaScript plugin—include it individually or through the compiled bootstrap.jsfile—to extend our list group to create tabbable panes of local content.