how to flip html img horizontally code example Example: css flip image horizontally .flip-horizontally { transform: scaleX(-1); }