I making a retro game using p5js and am working on adding a CTR screen effect to the webpage I am using. In my style.css file I have implemented the following code:
This creates many semi-translucent lines that make their way across the screen. This is exactly what I want except for the fact that any objects placed into the page are rendered above the lines. I am confident this is because the lines are put into the background of the document as seen in line 2. Is there a way I could instead render them on top of all other objects?