how to mirror an image in javascript code example Example: flip image css .image{ transform: rotateY(180deg); }