Anyone got any ideas on how to add rounded corners to a Lottie animation block?
Put the lottie in a div, radius the div and give it overflow hidden.
2 Likes
I found a solution for this.
- Add a div block to your project and give it a class
- Add a Lottie element into it
- Set the overflow setting of that div block to
hidden
- Add radius to your div block element