Check out example codes for "css box shadow not on bottom". It will help you in understanding the concepts better.

Code Example 1

box-shadow: 0px -8px 10px lightgrey;

Learn ReactJs, React Native from akashmittal.com