CSS: in-range selector
CSS selectors complete reference manual
Examples
Enter a value within the specified range, specify the style settings:
input:in-range
{
border:2px solid yellow;
}
{
border:2px solid yellow;
}
try it"
Definitions and use
: In-range selector for the style value label is displayed at the specified interval value.
Note:: in-range selector element can act only on the specified range of values, such as min and max attributes input element.
Browser Support
Figures in the table represent the first browser to support the version number of the property.
选择器 | |||||
---|---|---|---|---|---|
:in-range | 10.0 | 不支持 | 28.0 | 5.2 | 11.0 |
CSS Syntax
:in-range
{
css 声明 ;
}
{
css 声明 ;
}
Related Pages
CSS selectors : out-of-range