Check out example codes for "como fazer listrada css". It will help you in understanding the concepts better.

Code Example 1

tr:nth-child(even) {background: #FFF}
tr:nth-child(odd) {background: #EEE}

Learn ReactJs, React Native from akashmittal.com