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

Code Example 1

a.ex1:hover, a.ex1:active {
  color: red;
}


 a.ex2:hover, a.ex2:active {
  font-size: 150%;
}

Learn ReactJs, React Native from akashmittal.com