title: Javascript animation of CSS classes?
body: <p>Is it possible to animate the replacement of a class in javascript?</p>
  
  <p>Let's consider I have this:</p>
  
  <pre><code>.class1 {background-color:blue;}  
  .class2 {background-color:red;}  
  </code></pre>
  
  <p>Is there any Javascript library that can ease the change between the two classes? That wouldn't make the user's computer explode?</p>
  
  <p>If not, what would be a good way of achieving that? A server-generated Javascript file?</p>