課程
/前端開發
/HTML/CSS
/十天精通CSS3
怎樣用一個選擇器實現789變一個樣式
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個元素?
舉報
本課程為CSS3入門教程,深刻詳解CSS3知識讓網頁穿上絢麗裝備
1 回答一個not選擇器只能選擇一個嗎
3 回答選擇器 怎么選擇前面三個?
2 回答這樣為什么不是選擇最后一個子元素
1 回答類選擇器一定要加target
5 回答:empty選擇器有什么實際用處啊
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
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