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


Code Example 4

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

Learn ReactJs, React Native from