久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css方法有哪些

      css方法有:1、返回CSS屬性,代碼為【css("propertyname")】;2、設(shè)置CSS屬性,代碼為【css("propertyname","value")】;3、設(shè)置多個(gè)CSS屬性,代碼為【css({"propertyna.】。

      css方法有哪些

      本教程操作環(huán)境:windows7系統(tǒng)、css3版,DELL G3電腦。

      css方法有:

      1、返回 CSS 屬性

      如需返回指定的 CSS 屬性的值,請(qǐng)使用如下語(yǔ)法:

      css("propertyname");

      下面的例子將返回首個(gè)匹配元素的 background-color 值:

      實(shí)例

      $("p").css("background-color");

      2、設(shè)置 CSS 屬性

      如需設(shè)置指定的 CSS 屬性,請(qǐng)使用如下語(yǔ)法:

      css("propertyname","value");

      下面的例子將為所有匹配元素設(shè)置 background-color 值:

      實(shí)例

      $("p").css("background-color","yellow");

      3、設(shè)置多個(gè) CSS 屬性

      如需設(shè)置多個(gè) CSS 屬性,請(qǐng)使用如下語(yǔ)法:

      css({"propertyname":"value","propertyname":"value",...});

      下面的例子將為所有匹配元素設(shè)置 background-color 和 font-size:

      實(shí)例

      $("p").css({"background-color":"yellow","font-size":"200%"});

      相關(guān)學(xué)習(xí)推薦:css教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)