Check out example codes for "how to hover over an individual cell in table css". It will help you in understanding the concepts better.

Code Example 1

td:hover {
  background-color: #ff0000;
  color: #000000;
}

Learn ReactJs, React Native from akashmittal.com