element to create a list group with linked items.
Test it Now Bootstrap List Group: Display active item
The class ".active" is used to highlight the current item. It specifies that the specific item is in active state.
Test it Now Bootstrap List Group: Display a disable item
The class ".disabled" is used to disable a specific item in the list group.
Test it Now Bootstrap List Group: Contextual Classes
You can add colors to the list items by using contextual classes.
The following classes are used for coloring list items:
- .list-group-item-success
- .list-group-item-info
- .list-group-item-warning
- .list-group-item-danger