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