p:nth-child(2n)
{
background:#ff0000;
}
p:nth-child(2n-1)
{
background:blue;
}
nth-child() 选择器
最新推荐文章于 2023-06-30 17:24:14 发布
p:nth-child(2n)
{
background:#ff0000;
}
p:nth-child(2n-1)
{
background:blue;
}