An unordered list with list elements is the most fundamental type of list group:
First item
Second item
Third item
Use <li> elements with class .list-group-item and <ul> elements with class .list-group to construct a simple list group:
Example
First item
Second item
Third item
Active State
Active item
Second item
Third item
To make the current object stand out, use the .active class:
Example
Active item
Second item
Third item
List Group With Linked Items
==== Example MUKAVU ====
Instead of using <ul> and <li>, use <div> and <a> to build a list group with linked elements. To enable a grey background color when hovering over an item, you can optionally add the .list-group-item-action class:
Apply the .list-group-flush class to eliminate some rounded corners and borders:
First item
Second item
Third item
Fourth item
Example
First item
Second item
Third item
Fourth item
Numbered List Groups
To make list elements with numbers in front of them, use the .list-group-numbered class:
==== Example MUKAVU ====
Example
First item
Second item
Third item
Fourth item
Horizontal List Groups
To make the list elements appear side by side rather than stacked on top of one another, add the .list-group-horizontal class to the .list-group:
==== Example MUKAVU ====
Example
First item
Second item
Third item
Fourth item
Contextual Classes
List items can be colored using contextual classes:
Success item
Secondary item
Info item
Warning item
Danger item
Primary item
Dark item
Light item
The coloring list items have the following classes: .list-group-item-success, list-group-item-secondary, list-group-item-info, list-group-item-warning, .list-group-item-danger, .list-group-item-primary, list-group-item-dark and list-group-item-light,: