Is it possible to include a CSS class name in jQuery .animate()
<p>With jQuery <code>.animate()</code>, I use to write like <code>.animate({ 'font-size': "24px", 'color': '#555' }, 1000 )</code> to animate the item as per the CSS attributes.</p>

<p>Is there a way in which I write a css class</p>

<pre><code>.className{
    font-size : "24px";
    color : "#333";
}
</code></pre>

<p>and use that class to perform the <code>.animate()</code> function so that I don't have to write all the CSS attributes as the properties of the jquery <code>.animate()</code> function??</p>
