課程
/前端開發(fā)
/HTML/CSS
/十天精通CSS3
ol > li:first-child{? ?color: red; }與 li:first-child{? ?color: red; }有區(qū)別嗎?
2019-07-19
源自:十天精通CSS3 6-6
正在回答
li不一定都在ol里
舉報
本課程為CSS3入門教程,深刻詳解CSS3知識讓網頁穿上絢麗裝備
1 回答請問 ul > li:first-child{ color: red; } 與 ul > li :first-child{ color: red; } (li與:first-child之間有空格)的差異
2 回答?為甚ul > li:first-child { color: red; }對<a href="##">Link2</a>內的元素內容沒有效果呢?
1 回答.post p:last-child和.post :last-child的區(qū)別
4 回答nth-child()和nth-of-type()的區(qū)別
6 回答.wrapper>p:first-of-type和.wrapper>p:first-child 有什么區(qū)別嗎
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優(yōu)惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2019-07-19
li不一定都在ol里