title: How to set a background image in reactjs?
body: <p>I have a reactjs/webpack app and trying to set a background image for the <code>body</code> tag:</p>
  <pre><code>body{
      background: url(&quot;../images/some-background.jpg&quot;);
      background-size:contain;
      background-position:top;
      background: cover;
  }
  </code></pre>
  <p>However after loading the components the <code>body</code> style is not present in the page. It shows up in the console though. Is there a way to display a background image in the main page whilst having the CSS rule in the CSS file that is loaded by webpack? Is this because Reactjs does something I am not aware of?</p>