如何在 RangeSlider 中为拖动手柄赋予不同的颜色

How to give different color to draghandle in RangeSlider

我一直在尝试更改 Kendo 的 rangeSlider 组件的 "balls" 的颜色。我只改变了两个球的颜色,但它是一样的。我需要为每一个不同的颜色。我认为我可以在 html 代码

中做一些事情
<div id="rSlider">
   <input />
   <input />
</div>

在 css 中生成一些 class 以使每个输入彼此不同,但我不知道该怎么做。

如果你想要不同的 css foreach "ball" 你可以使用 css:

    .k-draghandle:first-of-type
    {
      background-color:#234;

    }
    .k-draghandle:last-of-type
    {
      background-color:#e23;

    }

http://dojo.telerik.com/EvUHo