Issue with using particles.js as a website background

54 views Asked by At


Hope everyone is doing good. I recently tried to use Particles.js(by Vincent Garreau) as a background for my portfolio website(https://harshsinghal.me). However I am not sure as to where should I add the particles div (with an id="particles-js") so that they span the entire website. As of now, if you visit my website and enable dark mode(cause currently the particles are white) and scroll at the end, you will see the particles. But instead of them being at the end, I want them to be everywhere in my website(as a background). Please tell if I need to add any css or change the location of the div.
Thanks!
Harsh

0

There are 0 answers