Lottie SVG to Canvas Scaling + Layout Issues

Try the code solution here: Responsive full screen Lottie animation (keep Aspect Ratio)

I just added it to mine and it worked. It’s still the data-preserve thing but with a different value and some JS.

My issue is still random padding on the sides that I’ve had to use negative margins and oversizing the lottie to fix but this fixed the mobile version what was super shrunk.

1 Like