課程
/前端開(kāi)發(fā)
/HTML/CSS
/十天精通CSS3
怎樣用一個(gè)選擇器實(shí)現(xiàn)789變一個(gè)樣式
2019-11-08
源自:十天精通CSS3 6-9
正在回答
ol >li:nth-child(-n+9):nth-child(n+7){background:green;}
ol>li:nth-last-child(2),:nth-last-child(3),:nth-last-child(4){
? background: orange;
}
具體形容的是什么呢,第789個(gè)元素?
舉報(bào)
本課程為CSS3入門(mén)教程,深刻詳解CSS3知識(shí)讓網(wǎng)頁(yè)穿上絢麗裝備
1 回答一個(gè)not選擇器只能選擇一個(gè)嗎
3 回答選擇器 怎么選擇前面三個(gè)?
2 回答這樣為什么不是選擇最后一個(gè)子元素
1 回答類選擇器一定要加target
5 回答:empty選擇器有什么實(shí)際用處啊
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2022-08-28
ol >li:nth-child(-n+9):nth-child(n+7){background:green;}
2020-12-01
ol>li:nth-last-child(2),:nth-last-child(3),:nth-last-child(4){
? background: orange;
}
2019-11-10