I'm working on a small web project and I'm currently trying to show a background image as a shaped object. Is it possible to display a regular square background image as a transformed shape like in the image below?
I tried to rotate a div, but then the image itself would be rotated as well.
What are other options that could help me archive an effect like in the image using html/css or js?
Thank you very much in advance.