Add`.disabled` to a `.list-group-item` to make it _appear_ disabled. Note that some elements with `.disabled`willalsorequirecustomJavaScripttofullydisabletheirclickevents(e.g.,links).
Use`<a>`s or `<button>`s to create _actionable_ list group items with hover, disabled, and active states by adding `.list-group-item-action`. We separate these pseudo-classes to ensure list groups made of non-interactive elements (like `<li>`s or `<div>`s)don'tprovideaclickortapaffordance.
Add`.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}` to make a list group horizontal starting at that breakpoint's `min-width`.Currently**horizontallistgroupscannotbecombinedwithflushlistgroups.**
Contextualclassesalsoworkwith`.list-group-item-action`. Note the addition of the hover styles here not present in the previous example. Also supported is the `.active`state;applyittoindicateanactiveselectiononacontextuallistgroupitem.
YoucanactivatealistgroupnavigationwithoutwritinganyJavaScriptbysimplyspecifying`data-toggle="list"` or on an element. Use these data attributes on `.list-group-item`.