styling ordered list

web
mobile

Topic: styling ordered list

itay pro asked 3 months ago

What should I use for styling an ordered list ?

e.g. https://www.w3schools.com/html/html_lists.asp

I didn't found anything relevant in https://mdbootstrap.com/docs/angular/components/list-group/#!

Thanks


Konrad Stępień staff commented 3 months ago

Can you tell me what results do you expect?


itay pro commented 3 months ago

Just wanted to make sure I didn't miss any pre-made styles


Arkadiusz Idzikowski staff answered 2 months ago

Those styles are designed specifically for unordered lists. If you want to display numbers you can change the ul tag to ol and use this styles:

.list-group {
    list-style: decimal inside;
}

.list-group-item {
    display: list-item;
}

Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Angular
  • MDB Version: 9.1.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: Yes
Tags