When hovered over, the square will be rotated 45 degrees. Change the origin to see the affect.
X:
Y:
transform-origin: 50% 50%