I have 2 questions. Firstly, how do you go about changing the CSS for a knob? I've tried adding a class to it but that didn't seem to work. Neither did doing inline styling. Anyone have any clue how this can be done (An example would be amazing)?
Secondly, does anyone have any idea how to modify the size of the knob based on window size? I can't seem to figure out how to make it take percentage inputs.
EDIT: To change the CSS, you must use the Draw function since it is done using Canvas, there is no way to apply CSS to it directly.
This worked for me:
$(".dial").knob({
'draw': function() {
$(this.i).css('font-size', '100px');
}
});