title: css3 rotate transition, doesn't take shortest way
body: <p>I want to use a css3 transition to smooth a compass movement using phonegap. i calculate the desired rotation as angle from 0 to 359.</p>
  
  <p>The problem is, when it should go from for example 359 to 0 it doesn't turn 1 degree clockwise, but instead it turns 359 degree counter clockwise.</p>
  
  <p>Is there a way to tell css to always take the shortest way for a rotation?</p>