:is

5分钟读懂css伪类选择器:is :not
JavaScript

5分钟读懂css伪类选择器:is :not

33 0

本文介绍一下Css伪类:is和:not,并解释一下is、not、matches、any之间的关系:notThe :not() CSS pseudo-class represents elements that do not match a list of selectors. Since it prevents specific items from being selected, it is known as the negation pseudo-class.以上是MDN对not的解释推荐学习:CSS