Check out example codes for "css reset margin padding". It will help you in understanding the concepts better.

Code Example 1

* {
  margin: 0;
  padding: 0;
}

Learn ReactJs, React Native from akashmittal.com