課程
/前端開(kāi)發(fā)
/jQuery
/jQuery基礎(chǔ) (一)—樣式篇
.first-div是什么意思呀
2016-11-28
源自:jQuery基礎(chǔ) (一)—樣式篇 3-2
正在回答
.first-div ?代表class="first-div",而class="left?first-div"是給同一個(gè)元素設(shè)置兩個(gè)class屬性
橙子哥哥 提問(wèn)者
明明的明天12
云彩無(wú)色3804005 回復(fù) 明明的明天12
明明的明天12 回復(fù) 云彩無(wú)色3804005
.left first-div可以嗎
通信IT狗
?<div class="left first-div">
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個(gè)元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div> ?
? ? ? ? </div>
? ? </div>
$('p:first').text( $(".first-div").html() )?
就是為class起的的名字
舉報(bào)
jQuery初入開(kāi)啟樣式修煉,體驗(yàn)萬(wàn)能的jQuery樣式集搭建網(wǎng)站布局
3 回答class="left first-div"是什么意思?
3 回答$("div").html 是什么意思?
4 回答$('.first-div')
1 回答$(".first-div").html()得到的到底是什么
3 回答$(document).ready(function() { $("div").html}什么意思?
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)
2016-12-01
.first-div ?代表class="first-div",而class="left?first-div"是給同一個(gè)元素設(shè)置兩個(gè)class屬性
2016-11-29
.left first-div可以嗎
2016-11-29
?<div class="left first-div">
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個(gè)元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div> ?
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個(gè)元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div>
? ? </div>
$('p:first').text( $(".first-div").html() )?
就是為class起的的名字