i am using particles.js as the background for my page.i have created a button and while using margin property with the button class, my particles stops flowing in the entire page.
i have recently learn about particles.js and have no idea about it.
I have tried the solution available on this link but its not working for me.
particles.js not covering entire page
any help would be appreciated.
<style>
body
{
padding: 0;
margin: 0;
background: linear-gradient(to top right, #112128,#274a5a, #203A43, #0F2027,#081014);
}
#particles-js
{
widows: 100%;
height: 100%;
}
.butt
{
margin-top: 300px;
margin-left: 300px;
}
</style>
<body>
<section id="particles-js">
<button class="butt">click here</button>
</section>
</body>