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

Code Example 1

.table1 {
  border-collapse: collapse;
}

Learn ReactJs, React Native from akashmittal.com