+ 1

CSS

can you give me the idea for applying separate color to paragraph one and second separately.

3rd Dec 2017, 2:00 PM
Amol
Amol - avatar
3 Answers
+ 7
p:nth-of-type(1) { color: red; } p:nth-of-type(2) { color: green; }
3rd Dec 2017, 2:13 PM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
Thank you very much, sir.
3rd Dec 2017, 2:16 PM
Amol
Amol - avatar
0
Could you please give me idea about how to learn code.
3rd Dec 2017, 2:23 PM
Amol
Amol - avatar