vanilla js scroll animations
Unanswered
Styrian Coarse-haired Hound posted this in #help-forum
Styrian Coarse-haired HoundOP
The idea is to make it so that JS looks for all elements with a certain class like animate-on-scroll, and using JS when the object is in view, it would be given a class that would allow it to be visible and start animating, I want to use this on a lot of elements trough the app, and I would like to know what the best way to implement something like this is? I want to make it still optimized and not mess with NextJS in unpredictable ways, so anyone that has any advice is very welcome to suggest.