罗盘精灵在ie8和ie7中不起作用 [英] compass sprite is not working in ie8 and ie7
本文介绍了罗盘精灵在ie8和ie7中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用罗盘制作图像精灵。它可以在现代浏览器上成功运行,但不能在ie 8和ie7中运行。我对指南针真的很陌生,我只是使用了一些简单的mixin来显示精灵。
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) ;高度:30px; width:30px;
是否缺少任何内容。预先感谢您的回复。
Is there anything am missing with it. Thanks in advance for the repliers.
推荐答案
哦,天哪。我在诸如 h1:not(#foo)
这样的选择器下使用了sprite,ie 8和ie 7中不支持它。已解决。
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.
这篇关于罗盘精灵在ie8和ie7中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文