Expand Particles.js To Background
I bought a template and I'm modifying it to make my website, I'm a designer, and I do not have much idea of code but I want to learn and I decided to venture into making the web li
Solution 1:
All you need is some CSS to position the <div>
. Add this to your <style>
tag. A good place to start when you get stuck in the future is the W3 Schools CSS intro. Best of luck!
/* the #id of your div */
#particles-js {
/* stay in a constant spot on the page, regardless of scroll */
position: fixed;
/* fill the entire page */
width: 100%;
height: 100%;
/* remove the space along the edges */
margin: 0;
padding: 0;
/* position it to start at the top of the page */
top: 0;
/* put it behind other content */
z-index: -1;
}
Post a Comment for "Expand Particles.js To Background"