Check out example codes for "how to add css to alt attribute text". It will help you in understanding the concepts better.

Code Example 1

body {background:#000022}
img {color:#fff}

Learn ReactJs, React Native from akashmittal.com