set rotation in picture html code example Example: set rotation of img in css transform: rotate(180deg);