1:first-child {
2 //styles here
3}
4
5:nth-child(1) { //the benefit of this is you can do it for 2nd, 3rd etc...
6 //styles here
7}
1:first-of-type {
2 //styles here
3}
4
5:first-child {
6 //styles here
7}
8
9:nth-child(1) { //the benefit of this is you can do it for 2nd, 3rd etc...
10 //styles here
11}