阅读:2043回复:2
如何屏蔽 *="*XXX" 的區塊?
CSS 如何屏蔽 *="*XXX" 的區塊?
就是可能有 class="aXXX" 或 class="bXXX" 或 id="cXXX" 可以用萬用字元屏蔽嗎? Stylish 或 Adblock Plus... |
|
|
1楼#
发布于:2013-03-28 17:08
[attribute] [target] Selects all elements with a target attribute 2
[attribute=value] [target=_blank] Selects all elements with target="_blank" 2 [attribute~=value] [title~=flower] Selects all elements with a title attribute containing the word "flower" 2 [attribute|=value] [lang|=en] Selects all elements with a lang attribute value starting with "en" 2 [attribute^=value] a[src^="https"] Selects every <a> element whose src attribute value begins with "https" 3 [attribute$=value] a[src$=".pdf"] Selects every <a> element whose src attribute value ends with ".pdf" 3 [attribute*=value] a[src*="w3schools"] Selects every <a> element whose src attribute value contains the substring "w3schools" 3 http://www.w3schools.com/cssref/css_selectors.asp |
|
|
2楼#
发布于:2013-03-28 17:08
div[class*=XXX]
div[id*=XXX] class 和 id 可以合併嗎? |
|
|