I've been experimenting with CSS to recreate the canvas frame effect seen on paintings, but I'm having trouble achieving the 3D "rounded/wrapping sides" look. I can add shadows and rounded corners, but not the wrapping effect.
The image on the left is what I currently have, and I'm aiming to replicate the effect on the right side. Please disregard the background of the expected image.
Any suggestions or assistance would be greatly appreciated!
.image{
display:flex;
justify-content:space-evenly;
}
#actual {
border-radius: 4px;
box-shadow: 20px 4px 10px rgba(0,0,0,0.35), 40px 8px 10px rgba(0,0,0,0.15);
}
<div class="image">
<img id="actual" src="http://lorempixel.com/output/cats-q-c-640-480-10.jpg">
<img id="expected" src="https://i.imgur.com/XD8Vdvv.jpg">
</div>