Check out example codes for "css change multiple classes". It will help you in understanding the concepts better.

Code Example 1

.objectOne, .objectTwo { /* We will now both be changed */
	margin: 0 auto; 
}

Learn ReactJs, React Native from akashmittal.com