Check out example codes for "hover over something to make html visible". It will help you in understanding the concepts better.

Code Example 1

div {
    display: none;
}
    
a:hover + div {
    display: block;
}

Learn ReactJs, React Native from akashmittal.com