Add the property and function necessary to rotate the image, transform: rotate();

Make sure to type transform: rotate();.