Check out example codes for "Sometimes elements overlap one another. Which property specifies the stacking order of the elements". It will help you in understanding the concepts better.

Code Example 1

z-index

Learn ReactJs, React Native from akashmittal.com