- ie8对选择器支持情况
ie8支持:first-child,但不支持:last-child、:last-of-type、:first-of-type、:nth-child(n)、:nth-last-child(n)、:nth-of-type(n)、:nth-last-of-type(n)、:enable、:disable 、:checked
ie8对before伪类不支持,引入兼容库js后,定位仍会出现问题,须修改边距值
- css hack
“-″减号是IE6专有的hack
“\9″ IE6/IE7/IE8/IE9/IE10都生效
“\0″ IE8/IE9/IE10都生效,是IE8/9/10的hack
“\9\0″ 只对IE9/IE10生效,是IE9/10的hack
ie8也不支持flex布局,须改成其它布局;
====================================================================
- 添加dom监听事件
.addEventListener = function (type,listener,use