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

Code Example 1

#content_id div.class_name:first-child {
	/*your style*/
}

Code Example 2

#content div:first-child {
/*css*/
}

Learn ReactJs, React Native from akashmittal.com