Page 1 of 1

add width and height for Lottie file

Posted: Mon May 30, 2022 4:25 am
by wb_user
hi I try to add custom width and height for Lottie file. but I cant.
for example I set width=500px and height=500px for Lottie object in WB workspace
but animation show width=150px and height=150px in generated html

Re: add width and height for Lottie file

Posted: Mon May 30, 2022 6:01 am
by Pablo

Re: add width and height for Lottie file

Posted: Mon May 30, 2022 6:21 am
by wb_user
yes I remember that. but I try to edit that not from wb or html side, try to understand new ways. for example, I see some website "Lottie editor" but none of them effect on width of Lottie animation.

Re: add width and height for Lottie file

Posted: Mon May 30, 2022 7:34 am
by Pablo
A lottie animation is responsive (because it's SVG) so the width is always the size of the container..