how to create a mirror image of a photo with javascript code example Example: flip image css .image{ transform: rotateY(180deg); }