简体   繁体   中英

How do I add particle.js background to this website template?

How do I add a particle.js ( https://vincentgarreau.com/particles.js/ ) background to this website template? I'm not able to figure out where the background picture is being called.

Here's the template: https://html5up.net/dimension

Please let me know! Thanks

Note: I've bought the license if it matters

The background image was inserted via css and is in a div with the class called "bg".

enter image description here

To add these particles, you will have to add the script and then create a json passing the particles settings.

https://github.com/VincentGarreau/particles.js/

https://codepen.io/VincentGarreau/pen/bGxvQd

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM