Is there a way to change the Thumb color for my slider without needing to select the thumb with a vendor prefix? I want to be able to dynamically pick the color without simply appending a class.
$('.button').on('click', function (e) {
$('.topcoat-range-input::-webkit-slider-thumb').css('background', 'rgba(255, 208, 255, 0.75)');
});
http://jsfiddle.net/qcn6tmpz/3/
Although a possible solution involves adding CSS like this, I was hoping for a simpler way:
$('.button').on('click', function (e) {
$("<style type='text/css'>.topcoat-range-input::-webkit-slider-thumb{background:rgba(255, 208, 255, 0.75)}</style>").appendTo($("head"));
});