How to create a 3D image with a frame around?
问题 From an image I have to show it as a painting and also put a frame on it (all this with a 3D perspective). This is how the image should look, like a painting: This is how it should look with the frame: Here is the code I have, so far only the part that looks like a picture. .sh { --valorshadow: -20px 30px 10px rgba(0, 0, 0, 0.3); filter: drop-shadow(var(--valorshadow)); } .box { --x: 10px; --y: 30px; clip-path: polygon( 0 calc(var(--x) + var(--y)), var(--y) var(--y), calc(100% - var(--y)) var