I have a div with a bunch of elements that are transformed with CSS. This div needs to be converted to an image.
I've tried using html2canvas, but it doesn't support Transformed elements very well, so the exported image looks nothing like how the browser displays it. What's the best way to convert a div with styled elements to an image, without using html2canvas?
Styling that doesn't convert well with html2canvas:
transform: perspective(100px) rotateY(10deg) rotateX(2deg) rotate(-11.5deg);