![]() |
VOOZH | about |
Bootstrap 5 List Group Numbered is one of the capabilities offered by List Group in Bootstrap 5, which is used to keep items in the form of a list and display them sequentially through the use of numbers.
List Group Numbered Classes:
Syntax:
<ol class="list-group list-group-numbered"> <li class="list-group-item">...</li> <li class="list-group-item">...</li> </ol>
Example 1: The following code demonstrates the List Group Numbered items using the List Group Numbered Item properties.
Output:
Example 2: The following code demonstrates the Nested List Group Numbered using Bootstrap 5 features.
Output:
Reference: https://getbootstrap.com/docs/5.0/components/list-group/#numbered