flip then change image in css code example Example: how to mirror object through css .mirror { transform: scaleX(-1); }