The transform property accepts functions as values. To add a function that rotates an image, we code rotate().
transform
rotate()
Make sure to type rotate().