i have managed to fix the issue, i wrote this code just below the body
<div id="particles-js"></div>
and then iv’e added this custom css:
#particles-js canvas {
display: block;
vertical-align: bottom;
-webkit-transform: scale(1);
-ms-transform: scale(1);
transform: scale(1);
opacity: 1;
-webkit-transition: opacity .8s ease, -webkit-transform 1.4s ease;
transition: opacity .8s ease, transform 1.4s ease
}
#particles-js {
width: 100%;
height: 100%;
position: fixed;
z-index: -10;
top: 0;
left: 0
}
and then on the particle js plugin when you embed the json, i changed the id to “particles-js”.
and it works great!! thanks again