Check out example codes for "css border right". It will help you in understanding the concepts better.

Code Example 1

.rightBorder {
  /*          width style color  */
  border-right: 5px solid black;
}

Learn ReactJs, React Native from akashmittal.com