- This topic has 2 replies, 2 voices, and was last updated 5 years, 10 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › List Menu › styling item separator
Tagged: custom element, custom list separator, list menu separator styling, smart elements, smart framework, smart-list-menu, smart-menu-item, web component, web components
Hello again,
i have another question. How can i style differently the separator line between the items. That’s the line that i insert by setting the “separator” attribute on a list item. I want to change the width and color.
Thanks again and sorry for the double post 🙂
Hello hansT,
To do so, please add the following style to your page:
<style type="text/css">
smart-menu-item[separator],
smart-menu-items-group[separator] {
border-bottom: 3px solid red;
}
</style>
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.com/
Great, thanks !