在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/HTML/ css Attrabsolute的意思是什么

css Attrabsolute的意思是什么

style的樣式

table[Attributes Style]{
        width:100%;
    }

html結(jié)構(gòu)

<table border="1" style="width: 100%;">
    <tbody style="width: 100%">
    <tr>
        <th>姓名</th>
        <th>姓名</th>
        <th>姓名</th>
        <th>姓名</th>
        <th>姓名</th>
    </tr>
    <tr>
        <td>ssss</td>
        <td>ssss</td>
        <td>ssss</td>
        <td>ssss</td>
    </tr>
    </tbody>
</table>

今天偶然看到這樣一種寫(xiě)法,看網(wǎng)上查的都是英文的解釋,英文不好的我,只能請(qǐng)教各位大神了 這樣一種style的樣式的寫(xiě)法代表的意思是什么呢?

回答
編輯回答
糖豆豆

應(yīng)該是可以在table 上自己一定一個(gè)屬性,比如

<style>
table[data-v-106baed3]{ 
background:#f00;
}
</style>
<table data-v-106baed3>
</table>
2018年9月3日 14:00
編輯回答
墻頭草

簡(jiǎn)單理解就是這個(gè) table 標(biāo)簽上有這個(gè)屬性就可以了,你可以百度或者谷歌搜一下

CSS屬性選擇符

http://lab.tianyizone.com/sel...

這里有幾個(gè),不全,一般有這么幾種類型 :

  • tag[attr]
  • tag[attr="value"]
  • tag[attr*="value"]
  • tag[attr^="value"]
  • tag[attr|="value"]
  • ....

還有幾個(gè),不記得了……

2017年6月11日 08:46