I need to change values of css attributes of classes, i discovered that i can use document.styleSheets[i].rules and cssRules to access stylesheet data and modify the each attribute with the style property as described here: https://stackoverflow.com/a/324533/826472
is this a good idea or should i rather do a $(".class-name").style("attribute", "value") with jQuery.
the first solution seems slick but i'm not sure, i didn't see it that often (at all) and i don't see the changes in the inspector (only in the calculated pane)