課程
/前端開(kāi)發(fā)
/HTML/CSS
/十天精通CSS3
參數(shù)就只能是一個(gè)嗎、。不能是4,2,5這樣的嗎,那樣就可以不規(guī)則的選擇了嗎,,唉,這慕課的都那么喜歡orange的嗎,,,,
2018-03-29
源自:十天精通CSS3 6-9
正在回答
這種可以生效,簡(jiǎn)便的我也想知道
.wrapper p:nth-last-child(1),p:nth-last-child(2),p:nth-last-child(3){
? background: orange;
}
分組選擇器
舉報(bào)
本課程為CSS3入門(mén)教程,深刻詳解CSS3知識(shí)讓網(wǎng)頁(yè)穿上絢麗裝備
3 回答有 nth-last-child(n),為何沒(méi)有nth-first-child(n) ?
1 回答:target偽類(lèi)選擇器有什么好處?
3 回答結(jié)構(gòu)性偽類(lèi)選擇器—root
2 回答關(guān)于結(jié)構(gòu)性偽類(lèi)選擇器
3 回答求教一個(gè)結(jié)構(gòu)性偽類(lèi)選擇器:first-child的問(wèn)題,困擾兩天了……
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢(xún)優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2018-03-30
這種可以生效,簡(jiǎn)便的我也想知道
.wrapper p:nth-last-child(1),p:nth-last-child(2),p:nth-last-child(3){
? background: orange;
}
2018-10-19
分組選擇器