Check out example codes for "css how to style a". It will help you in understanding the concepts better.

Code Example 1

/*a normal, unvisited link*/
a:link{
	color: green;
}
/*a link the user has visited*/
a:visited{
	color: purple;
}
/*a link when the user mouses over it*/
a:hover{
	color: yellow;
}
/*a link the moment it is clicked*/
a:active{
	color: brown;
}

Learn ReactJs, React Native from akashmittal.com