Is there any way to get the CSS :not() selector working in IE and Chrome?

后端 未结 1 907
名媛妹妹
名媛妹妹 2020-12-19 15:50

Anyone know any tricks to use the CSS :not() selector in IE and Chrome?

e.g. this works in Firefox: iframe:not(.anifrmclass){}

1条回答
  •  死守一世寂寞
    2020-12-19 16:12

    Specificity is your friend. Apply your :not(.anifrmclass) styles to all