Looking for some assistance! I have an image on my website that is rotated and needs to be turned back to face us correctly. I've tried using the code snippets below but they don't seem to be working:
transform: rotateY(10deg);
transform: rotate3d(1, 1, 1, 45deg);
To demonstrate the issue, I've created a minimal reproducible example here -
div {
width: 400px;
height: auto;
margin: 0 auto;
}
img {
width: 100%;
height: 100%;
display: block;
transform:rotateY(140deg)
/* need to turn it so that the picture is facing us with its front side */
}
<div>
<img src="https://i.ibb.co/pw8Mc2M/product-redox.png" alt="product-redox" border="0">
</div>
If anyone could provide guidance on how to correctly turn this image, it would be greatly appreciated.
This is the desired appearance: