Check out example codes for "putting an object in front of a page javascript". It will help you in understanding the concepts better.

Code Example 1

z-index: 2;//If it doesnt work , try a higher value.

Learn ReactJs, React Native from akashmittal.com