:first-child 1、匹配第一个 元素p:first-child { color: red; } some textsome text2、匹配所有 元素中的第一个 元素p > i:first-child { font-weight:bold; } some text. some te HTML 2024-01-22 210 点赞 3 评论 318 浏览