Check out example codes for "how to apply bg image in inline css". It will help you in understanding the concepts better.

Code Example 1

background-image: url("image.gif");

Code Example 2

body {
 background-image: url("paper.gif");
 background-color: #cccccc;
}

Code Example 3

bgimage

Code Example 4

<style>
body {
  background-image: url('img_girl.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
</style>

Learn ReactJs, React Native from akashmittal.com