是的,我想在问之前先找到一些东西。
我在我的网站上工作,我决定使用文本阴影,这听起来很简单,但事实并非如此。
IE 不支持 text-shadow 属性,但我想让它跨浏览器所以我想要一个 jQuery 插件,但我找不到支持 IE 的工作插件。我希望它支持 IE 6+,但我可以妥协,让它只支持 IE 7+。
我不想要一个重复文本的插件。例如,当您突出显示文本、复制和粘贴时,您会多次看到相同的单词/句子。我想要一个可以使用图层 (z-index) 制作并且可以在任何条件下工作的插件。
谢谢。
最佳答案
关于在 IE 中以更简单的方式模仿 text-shadow
的一些信息可以在 http://www.impressivewebs.com/css3-text-shadow-ie/ 找到。
然而,正如他们所说:
But in many cases, you’d be better off not using a filter or any kind of script. Let IE see a lesser experience, and save the good stuff for the better browsers.
Also, even though the IE filters are not loading up any extra scripts, they still have performance issues and can slow the rendering of the page. So again, if you can avoid them, then do so.
关于jQuery/CSS 文本阴影效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6901354/