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

2019-01-26 03:10发布

问题:

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()?

回答1:

Or you can use Dean Edwards IE7.js



回答2:

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/



回答3:

Try using this css3 selectors for ie:

http://selectivizr.com/