Check out example codes for "css first h element". It will help you in understanding the concepts better.

Code Example 1

p:first-of-type {
  font-size: 1.25em;
}

Learn ReactJs, React Native from akashmittal.com