JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Slider › Customize scale labels and tick marks › Reply To: Customize scale labels and tick marks
January 14, 2019 at 5:53 am
#99431
admin
Keymaster
Hi hansT,
- To show only the ticks with labels, please set
ticks-visibility="major"
. - The color of tick marks can be set using the CSS variable
--smart-tick-color
, i.e.:<style type="text/css"> smart-slider { --smart-tick-color: red; } </style>
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.com