css flip from one image to another code example
Example 1: how to mirror object through css
.mirror {
transform: scaleX(-1);
}
Example 2: flip image css
img{
transform: rotateY(180deg);
}
.mirror {
transform: scaleX(-1);
}
img{
transform: rotateY(180deg);
}