![]() |
VOOZH | about |
Bootstrap 5 provides the List Group Active feature in which items are stored in form of a list. List groups are a flexible and powerful component for displaying a series of content. The List Group Active feature is used to indicate the currently active selection.
List group Active items classes:
Syntax:
<ul class="list-group"> <li class="list-group-item active">...</li> <li class="list-group-item">...</li> ... </ul>
Example 1: The following code demonstrates the List group Active items using the List Active Item properties.
Output:
Example 2: The following code demonstrates the List group Active items on multiple items.
Output:
Reference: https://getbootstrap.com/docs/5.0/components/list-group/#active-items