时间:2024-10-13 04:02:21
1、:first-child伪类元素选择器初识
3、选择P元素,且是其父元素的首个子元素,设置背景色
5、调换P和H1的位置,让P成为BODY的第一个子元素
7、:first-child 使用总结: