Check out example codes for "how to give shadow to text in css". It will help you in understanding the concepts better.

Code Example 1

h1
 {

     
 text-shadow: 2px 2px #ff0000;

 }

Code Example 2

text-shadow: h-shadow v-shadow blur-radius color|none|initial|inherit;

Code Example 3

.myClass{
  /*           x   y   blur color */
  text-shadow: 1px 1px 0px #ff0000;
}

Code Example 4

text-shadow: h-shadow v-shadow blur-radius color|none|initial|inherit;

h1 {
  text-shadow: 0 0 3px #FF0000, 0 0 5px #0000FF;
}

Learn ReactJs, React Native from akashmittal.com