CSS :blank Selector
Experimental: This is an experimental technology.
Example
textarea:blank {
border: 5px solid red;
}
Meaning
The :blank selector selects empty user input elements like <input> or <textarea>.
Note: The :blank selector is considered at risk, as the CSSWG keeps changing it.
Version: CSS3
Standard Syntax
:blank {
css declarations;
}
Browser Support
The numbers in the table specify the first browser version that fully supports the property.