title: How to make the matrix background render behind page content?
body: <p>I wanted to use this cool matrix background for my web application but it covers all of my elements(div's, headers, paragraphs etc.).</p>
  <p>I've tried to fix this with css but it doesn't work.
  So now I'm stuck and asking you for help.</p>
  <p>Here is my code from CodePen:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const canvas = document.getElementById('canv');
  const ctx = canvas.getContext('2d');
  
  const w = canvas.width = document.body.offsetWidth;
  const h = canvas.height = document.body.offsetHeight;
  const cols = Math.floor(w / 20) + 1;
  const ypos = Array(cols).fill(0);
  
  ctx.fillStyle = '#000';
  ctx.fillRect(0, 0, w, h);
  
  function matrix () {
    ctx.fillStyle = '#0001';
    ctx.fillRect(0, 0, w, h);
  
    ctx.fillStyle = '#0f0';
    ctx.font = '15pt monospace';
  
    ypos.forEach((y, ind) =&gt; {
      const text = String.fromCharCode(Math.random() * 128);
      const x = ind * 20;
      ctx.fillText(text, x, y);
      if (y &gt; 100 + Math.random() * 10000) ypos[ind] = 0;
      else ypos[ind] = y + 20;
    });
  }
  
  setInterval(matrix, 50);</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>body {
    margin: 0;
    height: 100vh;
    width: 100vw;
  }
  
  .container{
    background-color: white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;canvas id='canv'&gt;
    &lt;div class='container'&gt;
      &lt;p&gt;Some div with login in&lt;/p&gt;
    &lt;/div&gt;
  &lt;/canvas&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Is there someway to fix it?</p>
  <p>Thanks for your attention and help.</p>