Check out example codes for "how to stretch picture with website css". It will help you in understanding the concepts better.

Code Example 1

body {
  background-size: cover; 
}

Learn ReactJs, React Native from akashmittal.com