<style>
.particles-js-canvas-el {
position: absolute;
max-width: 100%;
max-height:100%;
left: 0%;
top: 0%;
right: 0%;
bottom: 0%;
z-index: 0;
}
</style>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script>
particlesJS(
// this is the ID your particles container needs to have "particles-js",
// Visit https://vincentgarreau.com/particles.js/ to get your code
// Paste your code directly underneath this line
)
</script>