how to home page rotate image in html css code example Example: rotate image html .img { transform: rotate(90deg); }