FIXING A BAD RENDER IN WEBKIT
Sometimes when you rotate an item it appears jagged around the edges. Adding "translate3d(0, 0, 0)" to the css transform makes Webkit render the rotation differently, resulting in smooth edges.
*It has been brought to my attention through the comments that "translateZ(0)" also produces the same results, but with a shorter syntax. Thanks!
-webkit-transform: rotate(-5deg);
-webkit-transform: rotate(-5deg) translate3d(0, 0, 0);
or
-webkit-transform: rotate(-5deg) translateZ(0);