:matches
Is :matches() supported?
by David Storey
HTML
<a href="http://example.org/">If :matches() is supported, this text MUST be be green</a>
CSS
a:link,
a:visited {
color: red;
}
a:matches(:link, :visited) {
color: green;
}
by David Storey
<a href="http://example.org/">If :matches() is supported, this text MUST be be green</a>
a:link,
a:visited {
color: red;
}
a:matches(:link, :visited) {
color: green;
}