css3 - Select elements by data * attribute in CSS -



css3 - Select elements by data * attribute in CSS -

this question has reply here:

css selector elements type of info attribute? 1 reply

i pretty confident not possible. how can target elements info attribute.

tr[data-*] //target data's

neither docs on attribute selectors, or docs on info attributes gives illustration or clue feature this.

instead splicitly states attribute selector composed by

[attr=value] [attr] represents element attribute name of attr.

with variants in equality comparision (such "starts with", "ends with", etc) value, never on attr name.

so, if aim add together custom cursor every data-something element, you'd need different approach, maybe giving them specific classes.

css css3

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -