DEV Community

Cover image for How To Draw On Scroll Using Javascript
Frontendor Team
Frontendor Team

Posted on

How To Draw On Scroll Using Javascript

It's a clever trick to use dash lines, but the gap in the dash is too long to cover it all the way. Then you can move it in such a way that it covers the whole path again, making it look like it is drawing itself. Follow this post to learn more:

https://frontendor.com/blog/how-to-draw-on-scroll-using-javascript/

Top comments (0)