Append the transition to the CSS tranform property to avoid overwriting other properties such a rotate.