Check out example codes for "css background full width". It will help you in understanding the concepts better.

Code Example 1

body { 
  background: url(img/bg-image.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

Code Example 2

body {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

Code Example 3

Background image resize

Code Example 4

/* One way */
background-size: cover;

/* Other option */
background-size: contain;

Learn ReactJs, React Native from akashmittal.com