Check out example codes for "how to chane text color when hover in css". It will help you in understanding the concepts better.

Code Example 1

CSS
.link { color: #FF0000; } /* CSS link color (red) */
.link:hover { color: #00FF00; } /* CSS link hover (green) */

Learn ReactJs, React Native from akashmittal.com