html how to rotate an image code example Example: rotate image html .img { transform: rotate(90deg); }