Check out example codes for "css add a shadow beneath text". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

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

Code Example 3

.red-text-shadow {
  text-shadow: red 0 5px;
}

Learn ReactJs, React Native from akashmittal.com