JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › DropDownList › Coloring list items › Reply To: Coloring list items
October 13, 2022 at 9:37 am
#103853
svetoslav_borislavov
Participant
Hi,
Add the style to the smart-list-item-container class.
Give a class name to the desired list item and then apply a style like this:
.bg-red .smart-list-item-container {
background-color: red
}
See a demo here: https://codepen.io/dkeamcaksoem/pen/KKRJNZB
Best Regards,
Svetoslav Borislavov
Smart UI Team
https://www.htmlelements.com/