html2canvas-pro
html2canvas-pro copied to clipboard
No support for rotate ?
For rotate, note that this doesnt work:
.element { rotate: 10deg; )
But this works:
.element { transform: rotate(10deg); }
In my case, the first syntax is used because this is forced by tailwindcss.
Maybe the issue applies to translate, scale, and other 2D transforms.
For rotate, note that this doesnt work: .element { rotate: 10deg; ) But this works: .element { transform: rotate(10deg); } In my case, the first syntax is used because this is forced by tailwindcss. Maybe the issue applies to translate, scale, and other 2D transforms.
try to use this REPO fix all 🐞:https://github.com/yorickshan/html2canvas-pro Sorry, this REPO :https://github.com/qq15725/modern-screenshot