Check out example codes for "css assign multiple classes to one element". It will help you in understanding the concepts better.

Code Example 1

To specify multiple classes, separate the class names with a space,
e.g. <span class="classA classB">.
This allows you to combine several CSS classes for one HTML element.

Learn ReactJs, React Native from