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