Check out example codes for "css all children of type". It will help you in understanding the concepts better.

Code Example 1

/* Affects all a inside the #nav element: */
#nav a{
  color: black;
}

Code Example 2

div.class, div.class > * {
    // CSS Property
}

Learn ReactJs, React Native from akashmittal.com