Unsure if this idea is feasible, but I'll attempt to explain my requirements.
I am interested in accomplishing something like the following:
A CSS class with variables X, Y, and Z left undefined:
.r {border-radius:Xpx;-webkit-border-radius:Ypx;-moz-border-radius:Zpx;}
Then within the body of the document:
<div id='test'></div>
With a script referencing the above CSS class:
$("#test").addClass("r(10,10,10)")
As you can see, the CSS class lacks specific values and instead uses placeholders.
I aim to assign this class to an element using jQuery and pass all necessary variables through jQuery.
Is there a way to achieve this?