Steps & Description
The above code takes into account adding the lottie as a custom element.
Change the .card class to the class you would like to target.
Change "dotlottie-player" to the HTML tag used.
Tips & Notes
"dotlottie-player" will be used for .lottie files. If you are using .json then you will have to use the "lottie-player" tag.