Check out example codes for "css overwriting styles". It will help you in understanding the concepts better.

Code Example 1

body {
background-color: black;
background-color: blue !important ;
  The second background color would show since it has
  a !important afterwards, this is to overwrite css you have
  already wrote. However, this is not recomended. 

Learn ReactJs, React Native from