I want a scrolling Lottie animation to appear when entering the site. When the scroll is finished, I want the homepage to appear with the navbar. If I assign the Lottie to a section, can I hide the navbar from that section?
I’m not sure if I understood what you are trying to achieve.
But for loading effect, we usually place that element on top using position: fixed, that way everything below hides. And when animation finishes, we hide the loading animation element.
How do I hide it when the scrolling animation is finished?