With css rotate property, the default transform-origin property unexpectedly changes from its default value ‘50% 50%’ to ‘top left’ when the size of the rotating object is set in percentage. When setting the size in pixels, the object transform-origin gets back to it center.
360° CSS rotating default transform-origin
categories : programmation
by Trân on March 24, 2015