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

巧了我就是萌 提交于 2019-11-28 02:28:50

问题


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/



来源:https://stackoverflow.com/questions/3077146/use-not-pseudo-class-in-ie7-ie8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!