課程
/前端開發(fā)
/HTML/CSS
/初識(shí)HTML(5)+CSS(3)
p span.warning{color:purple;} ?span.warning是選擇了什么啊
2015-03-05
源自:初識(shí)HTML(5)+CSS(3) 9-3
正在回答
派生選擇器,表示P內(nèi)的span里class為warning的內(nèi)容為紫色,
<p>無(wú)關(guān)內(nèi)容<span class="warning">我是紫色的內(nèi)容</span>無(wú)關(guān)內(nèi)容</p>
<style type="text/css">
.warning{color:red;}
</style>
<p>
<span class=" warning"></span>
</p>
舉報(bào)
HTML(5)+CSS(3)基礎(chǔ)教程8小時(shí)帶領(lǐng)大家步步深入學(xué)習(xí)標(biāo)簽用法和意義
3 回答div.txtCenter{ } 這是什么選擇器?
1 回答什么是選擇器
4 回答這種.>是什么選擇器?
2 回答p.first是什么選擇器?
5 回答答案是用了包含選擇器和ID選擇器,為什么不能用一個(gè)選擇器嗎
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)
2015-03-18
派生選擇器,表示P內(nèi)的span里class為warning的內(nèi)容為紫色,
<p>無(wú)關(guān)內(nèi)容<span class="warning">我是紫色的內(nèi)容</span>無(wú)關(guān)內(nèi)容</p>
2015-03-11
<style type="text/css">
.warning{color:red;}
</style>
2015-03-05
<p>
<span class=" warning"></span>
</p>