HTML/CSS animation insert into Shotcut video

Another way i was thinking if something converts the HTML & CSS to a GIF file then upload the GIF as a video track. I would be just as happy with that.

However, the tools I found online were not crash hot. Further more, to upload them onto the converter, they would be two separate files? A HTML file and an CSS file?

Thanks, from China