Topic: styling ordered list
itay pro asked 4 years 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
Arkadiusz Idzikowski staff answered 4 years 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;
}
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.1.0
- Device: NA
- Browser: NA
- OS: NA
- Provided sample code: No
- Provided link: Yes
Konrad Stępień staff commented 4 years ago
Can you tell me what results do you expect?
itay pro commented 4 years ago
Just wanted to make sure I didn't miss any pre-made styles