Sunday, 15 September 2013

CSS selector based on element text? -



CSS selector based on element text? -

possible duplicate: css 3 content selector?

is there way select element in css based on element text?

ie:

li[text=*foo] <li>foo</li> <li>bar</li>

that doesn't work..

i expect reply no, in advance.

edit: need back upwards chrome.

not css directly, set css properties via javascript based on internal contents in end still need operating in definitions of css.

css css-selectors

No comments:

Post a Comment