課程
/前端開發
/jQuery
/jQuery基礎 (一)—樣式篇
.first-div是什么意思呀
2016-11-28
源自:jQuery基礎 (一)—樣式篇 3-2
正在回答
.first-div ?代表class="first-div",而class="left?first-div"是給同一個元素設置兩個class屬性
橙子哥哥 提問者
明明的明天12
云彩無色3804005 回復 明明的明天12
明明的明天12 回復 云彩無色3804005
.left first-div可以嗎
通信IT狗
?<div class="left first-div">
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div> ?
? ? ? ? </div>
? ? </div>
$('p:first').text( $(".first-div").html() )?
就是為class起的的名字
舉報
jQuery初入開啟樣式修煉,體驗萬能的jQuery樣式集搭建網站布局
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號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-12-01
.first-div ?代表class="first-div",而class="left?first-div"是給同一個元素設置兩個class屬性
2016-11-29
.left first-div可以嗎
2016-11-29
?<div class="left first-div">
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div> ?
? ? ? ? <div class="div">
? ? ? ? ? ? <a>:first-child</a>
? ? ? ? ? ? <a>第二個元素</a>
? ? ? ? ? ? <a>:last-child</a>
? ? ? ? </div>
? ? </div>
$('p:first').text( $(".first-div").html() )?
就是為class起的的名字