Check out example codes for "css not class". It will help you in understanding the concepts better.

Code Example 1

/* Style everything but the .different class */
li:not(.different) {
  font-size: 3em;
}

Learn ReactJs, React Native from akashmittal.com