I noticed this rule in Firebug:
*|*:link {
color:#0000EE;
}
I'm not sure that I've ever seen the vertical bar (|
) before. It's in the about:PreferenceStyleSheet so it may be Firefox-specific.
What does it mean? Any link to a reference? I thought possibly that the vertical bar was an "OR", but that's the comma in CSS.
The :valid CSS pseudo-class represents any <input> or other <form> element whose contents validate successfully. This allows to easily make valid fields adopt an appearance that helps the user confirm that their data is formatted properly.
The :valid selector selects form elements with a value that validates according to the element's settings. Note: The :valid selector only works for form elements with limitations, such as input elements with min and max attributes, email fields with a legal email, or number fields with a numeric value, etc.
In CSS, selectors are used to target the HTML elements on our web pages that we want to style. There are a wide variety of CSS selectors available, allowing for fine-grained precision when selecting elements to style.
The |
selector is the namespace selector. The part before the |
is the namespace and the part after the |
the selector.
So *|*:link
means to match any element in any namespace that is a link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With