:not - CSS pseudo selector in CSS

:not - CSS pseudo selector in CSS

The :not() property in CSS is a negation pseudo class and accepts a simple selector or a selector list as an argument.

It matches an element that is not represented by the argument.

The :not() pseudo class has been updated in the CSS Selectors Level 4 specification to allow an argument list. In CSS Selectors Level 3, it was only capable of accepting a single simple selector.

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

Milap Patel的更多文章

社区洞察

其他会员也浏览了