html2canvas-pro icon indicating copy to clipboard operation
html2canvas-pro copied to clipboard

No support for rotate ?

Open cadilhac opened this issue 8 months ago • 1 comments

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.

cadilhac avatar Jun 17 '25 18:06 cadilhac

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

learner-dhx avatar Jun 19 '25 09:06 learner-dhx