Check out example codes for "remove border from last child css". It will help you in understanding the concepts better.

Code Example 1

.menu li:last-child {
  border: none;
}

Learn ReactJs, React Native from akashmittal.com