p:first-child{} 表示选择属于其父元素的首个子元素的每个<p>元素,并为其设置样式: 具体 见 [CSS] first-child选择器的一点理解_哈灰蓝的博客-优快云博客_css第一个子元素选择器https://blog.youkuaiyun.com/weixin_43261523/article/details/124908698