实现css图标不会显示在Safari浏览器中 [英] Materialize css icons doesn't show up in Safari browser

查看:255
本文介绍了实现css图标不会显示在Safari浏览器中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到实体化CSS 图示并未显示在 Safari(v5.1.7(7534.57.2) 。很好地搜索了很多关于这个主题,但没有任何文档的浏览器兼容性safari已列出。任何人都可以让我知道,如果这是一个错误,需要修复或有任何替代方案,使这项工作Safari。



其他浏览器




PS: materializecss 的其他功能b $ b


解决方案

我遇到了完全相同的问题。以下方法帮助我:





如果你不是自主的字体图标,只是尝试包括上述CSS代码。我没有尝试这与CDN,但它确实为我自己的托管字体图标工作。所以让我们都知道事情的发展方向,所以如果没有,我们可以尝试一些替代解决方案。


I noticed that materialized CSS icons does not show up in Safari (v5.1.7 (7534.57.2). Well searched a lot on this topic but there haven't been any documentation on browser compatibility where safari has been listed. Could anyone let me know if this is a bug which needs to be fixed or are there any alternatives to get this work in Safari.

Other browsers

Safari Browser

PS:Other functionalities of materializecss works well except icons

解决方案

I faced the exact same issue. The following approach helped me:

In case if you are not self hosting the font-icons, just try including the above mentioned CSS code. I haven't tried this with CDN but it did work for me for self-hosted font-icons. So let us all know how things work out, so that in case if it doesn't, we can try some alternate solution.

这篇关于实现css图标不会显示在Safari浏览器中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆