Check out example codes for "how to make border for letters in css". It will help you in understanding the concepts better.

Code Example 1

h1 {
    /* 1 pixel black shadow to left, top, right and bottom */
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;

    font-family: sans; color: yellow;
}

Code Example 2

h1 {
    -webkit-text-stroke: 2px black; /* width and color */

    font-family: sans; color: yellow;
}

Learn ReactJs, React Native from akashmittal.com