How to add rounded corners to a lottie animation block

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.

  1. Add a div block to your project and give it a class
  2. Add a Lottie element into it
  3. Set the overflow setting of that div block to hidden
  4. Add radius to your div block element