gif.js icon indicating copy to clipboard operation
gif.js copied to clipboard

Is there a way to convert css animation into gif?

Open DaniEzzeddine opened this issue 3 years ago • 3 comments

DaniEzzeddine avatar Aug 23 '21 21:08 DaniEzzeddine

You can try using html2canvas. It might not support all the CSS properties you want, or may not work with CSS animation, I don't know. You can check supported CSS properties here: https://html2canvas.hertzen.com/features/

1j01 avatar Aug 29 '21 13:08 1j01

When using html2canvas to intercept CSS animation, only the first screen animation position can be intercepted. It is recommended to use the animejs library to realize animation

dafengxiang avatar Jun 21 '22 10:06 dafengxiang

👀 try https://github.com/qq15725/dom-vcr

qq15725 avatar Jan 10 '23 15:01 qq15725