Use :not() pseudo-class in IE7/IE8

前端 未结 3 2076
执念已碎
执念已碎 2020-12-18 18:37

is there any way I can get the :not() pseudo-class to work in Internet Explorer 7/8? Is there any javascript that can do the same thing as the CSS3 :not()

相关标签:
3条回答
  • 2020-12-18 19:05

    Try using this css3 selectors for ie:

    http://selectivizr.com/

    0 讨论(0)
  • 2020-12-18 19:07

    Yes, as regards JavaScript, jQuery and MooTools support the :not pseudo-class selector.

    http://mootools.net/docs/core/Utilities/Selectors#Selector:not
    http://api.jquery.com/not-selector/

    0 讨论(0)
  • 2020-12-18 19:17

    Or you can use Dean Edwards IE7.js

    0 讨论(0)
提交回复
热议问题