I have to make a rotating prism for banners. I’m doing it with transition/transform. My problem is the following:
If I add ‘perspective: 1000px’, the box gets resized, which is bad because the picture in box also would also get resized.
If I don’t add perspective, the size of the box is okay, but the rotation is not realistic, because while rotating, the left and right sides of the box remain parallel/vertical.