Check out example codes for "how do i make a div full width with css". It will help you in understanding the concepts better.

Code Example 1

.row-full{
 width: 100vw;
 position: relative;
 margin-left: -50vw;
 height: 100px;
 margin-top: 100px;
 left: 50%;
}

Learn ReactJs, React Native from akashmittal.com