3
I have an input like number with a min and the max in HTML. it is possible to use this min, max and the step in the CSS?
<input class=input_number id=delai type=number min=1 max=10 step=2 name=delai required />
In CSS, something like this:
#delai{ min:1;max:10;step:2}
This is not a function of CSS. CSS is used for the visual formatting of a document and not to explicitly add functionality. Other tools undertake this type of modification (for example javascript)
– Armando K.