CSS :in-range pseudo selector

CSS :in-range pseudo selector

The :in-range pseudo selector in CSS matches input elements when their value is within the range specified as being acceptable.

It is part of the CSS Selectors Level 4 specification which is currently in Editor’s Draft status.

it’s only relevant on input[type=number], range inputs don’t allow values outside their min/max and it doesn’t make much sense on any other type of input.

要查看或添加评论,请登录

Milap Patel的更多文章

社区洞察

其他会员也浏览了