How to Apply CSS Class Only To First Child of An Element or Division

by | Jan 6, 2015

This paragraph is the first child of it's parent.
This paragraph is not the first child of it's parent.
This paragraph is not the first child of it's parent.
This paragraph is not the first child of it's parent.

Here is the output of the code:

This paragraph is the first child of it’s parent.
This paragraph is not the first child of it’s parent.
This paragraph is not the first child of it’s parent.
This paragraph is not the first child of it’s parent.
About Marshall
Marshall is creative head at Elicus and works with the team to bring ideas to life. He is strongly focused on delivering a quality experience to clients and customers.

0 Comments