title: How to set height and width of background image inline style in react
body: <p>can someone please help me out with this ?</p>
  <p>I have this problem: I am fetching an image from api and I want to set it as background (FULL-SCREEN background), somehow it doesn´t work for me when I want to set 100% height and width and other stylings to that image as inline styling. How am I supposed to do that ?</p>
  <p>Or is it possible to fetch an image and somehow use it in css as background-image: ... ?</p>
  <p>I am fetching an image from django back end.</p>
  <pre><code>render() {
          return (
          &lt;section style={{backgroundImage: `url(${this.state.pic})`}}&gt;
          &lt;h3&gt;404 Page Not Found!&lt;/h3&gt;
          &lt;/section&gt;
           )
      
      }
  </code></pre>