:not([:first-child]){color:red;}
// 将非第一个子元素都设置为红色
css :not 选择器
最新推荐文章于 2024-04-16 16:05:31 发布
:not([:first-child]){color:red;}
// 将非第一个子元素都设置为红色