how to flip an image in css code example
Example 1: css image transform flip mirror
/* Flipping/mirroring horizontally */
img {
transform: scaleX(-1);
}
Example 2: flip image css
.image{
transform: rotateY(180deg);
}
/* Flipping/mirroring horizontally */
img {
transform: scaleX(-1);
}
.image{
transform: rotateY(180deg);
}