title: Why particles.js height not expanding?
body: <p>I want to use <strong>particles.js</strong> for my project background. I'm having an issue with height. It's not expanding height in device web. Actually height property is not working. Please help me with this.
  <br><br>
  <strong>Here is the code:</strong></p>
  <blockquote>
  <p><a href="https://codesandbox.io/s/4zv0329nn0" rel="nofollow noreferrer">https://codesandbox.io/s/4zv0329nn0</a></p>
  </blockquote>
  <p><a href="https://i.stack.imgur.com/TbGJ7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TbGJ7.png" alt="enter image description here" /></a></p>
  <p><strong>particle.js component.</strong></p>
  <pre><code>import React from &quot;react&quot;;
  import Particles from &quot;react-particles-js&quot;;
  
  export default () =&gt; (
    &lt;div
      style={{
        width: &quot;100%&quot;,
        height: &quot;100%&quot;,
        backgroundColor: &quot;blue&quot;
      }}
    &gt;
      &lt;Particles
        params={{
          particles: {
            number: {
              value: 50
            },
            size: {
              value: 3
            }
          },
          interactivity: {
            events: {
              onhover: {
                enable: true,
                mode: &quot;repulse&quot;
              }
            }
          }
        }}
      /&gt;
    &lt;/div&gt;
  );
  
  </code></pre>
  <p><strong>App component.</strong></p>
  <pre><code>const App = () =&gt; {
    return (
      &lt;div
        style={{
          width: &quot;100%&quot;,
          height: &quot;100%&quot;,
          margin: &quot;0&quot;,
          padding: &quot;0&quot;
        }}
      &gt;
        &lt;ParticleComponent /&gt;
        &lt;div
          style={{
            position: &quot;absolute&quot;,
            top: 0,
            left: 0,
            width: &quot;100%&quot;,
            height: &quot;100%&quot;
          }}
        &gt;
          &lt;h1&gt;test&lt;/h1&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    );
  }
  </code></pre>