0

pseudo-classes question

Good daytime! Understood in quiz but don't find how to use it in my code. How can I make first block in green text? Where in code i need post this? #parent p:first-child { color: green; } https://code.sololearn.com/WSKMnwEbZm38/#html

27th Apr 2018, 9:48 AM
Arthur P
Arthur P - avatar
1 Answer
+ 1
You can insert it as internal or external CSS declaration (in head <style> tag or in own css file)... Anyway i dont find in your code some element with parent id then it has not effect
27th Apr 2018, 11:06 AM
KrOW
KrOW - avatar