(1)基本過濾選擇器
:first
:last
:not(selector)
:even
:odd
:eq(index)
:gt(index)
:lt(index)
(2)內(nèi)容過濾選擇器
:contains(text) 匹配包含給定文本的元素
:empty 匹配所有不包含子元素或者文本的空元素
:has(selector) 匹配含有選擇器所匹配的元素
的元素
:parent 匹配含有子元素或者文本的元素
(3)可見性過濾選擇器
:hidden 匹配所有不可見元素,
或者type為hidden的元素
:visible 匹配所有的可見元素
(4)屬性過濾選擇器
[attribute]
[attribute=value]
[attribute!=value]
(5)子元素過濾選擇器
:nth-child(index/even/odd)
2015年全國職稱計算機考試教材(2007模 .. 定價:¥225 優(yōu)惠價:¥213 更多書籍 | |
全國職稱計算機考試速成過關(guān)系列套裝:W .. 定價:¥133 優(yōu)惠價:¥133.0 更多書籍 |