Check out example codes for "white block on the left css". It will help you in understanding the concepts better.

Code Example 1

There is probably an element in your code that has a default margin of 8px.
try using "margin: -8px 0px 0px -8px;" on your container.

Learn ReactJs, React Native from akashmittal.com