.active
to a .list-group-item
to indicate the current active selection.
.disabled
to a .list-group-item
to make it appear disabled.
<a>
s or <button>
s to create actionable list group items with hover, disabled, and active states by adding .list-group-item-action
.
.list-group-flush
to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).
.list-group-numbered
modifier class (and optionally use an <ol>
element) to opt into numbered list group items.
.list-group-horizontal
to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant .list-group-horizontal-{sm|md|lg|xl|xxl}
to make a list group horizontal starting at that breakpoint.
.flex-fill
to each list group item.
.list-group-item-action
for <a>
and <button>
elements.Some placeholder content in a paragraph.
And some small print.Some placeholder content in a paragraph.
And some muted small print.Some placeholder content in a paragraph.
And some muted small print.<label>
s, but please remember to include an aria-label
attribute and value for accessibility.