Check out example codes for "neomorphic box". It will help you in understanding the concepts better.

Code Example 1

box-shadow: 20px 20px 50px #00d2c6, 
            -30px -30px 60px #00ffff;

Learn ReactJs, React Native from akashmittal.com