Help with particles.js in flex layout

If anyone has had any experience with particles.js, I could use some help. Im trying to put them in the background of my front page but can’t get it to work in the flex container. Is there possibly a workaround for this.

Do you tried to position the particle.js’s div as absolute? and put it in front of all the divs? It works as fine for me <-- is the expample. I don’t know it what I’ve made there is what you’ve asked for, but here the particle.js div is a background for some login forms.