compass sprite is not working in ie8 and ie7

大城市里の小女人 提交于 2020-02-06 07:54:12

问题


I am using compass to make image sprites. It successfully works on modern browser but its not working in ie 8 and ie7. I am really new to compass I just used some simple mixin to display the sprite.

@include spr-sprite("arrow-step"); height:30px; width:30px;

Is there anything am missing with it. Thanks in advance for the repliers.


回答1:


Oh god. I was using sprite under the selectors like h1:not(#foo) which is not supported in ie 8 and ie 7. Its solved.



来源:https://stackoverflow.com/questions/14214604/compass-sprite-is-not-working-in-ie8-and-ie7

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