我使用PhoneGap的,在我的网页我试图用FontAwesome,但它不工作? [英] I'm using PhoneGap and in my pages I'm trying to use FontAwesome but it doesn't work?

查看:113
本文介绍了我使用PhoneGap的,在我的网页我试图用FontAwesome,但它不工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建的应用程序与PhoneGap的Andr​​oid和我用我的应用程序FontAwesome图标,但我看不到图标只是正方形。包括我FontAwesome这样

I created application with PhoneGap for Android and I'm using FontAwesome icons in my app, but I can't see icons but just squares. I include FontAwesome like this

 <link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">

和我使用它像这样

<i class="icon-circle "></i>

我需要移动FontAwesome文件夹中的其他地方,现在是WWW-> fontawesome和文件从我叫它它也是在WWW文件夹,或者我需要做些别的事情,我可以找到任何有用的回答?

Do I need to move the FontAwesome folder somewhere else, now it is in www->fontawesome and the file from which I'm calling it it's also in www folder, or I need to do something else I can find any useful answer?

推荐答案

https://开头github.com/FortAwesome/Font-Awesome/issues/1094

我想这说明了它 你必须去到字体,真棒的CSS和更改了该行

I think this explains it You have to go into the font-awesome css and make a change to the line

  text-rendering: optimizelegibility;

将其更改为

  text-rendering: auto;

这篇关于我使用PhoneGap的,在我的网页我试图用FontAwesome,但它不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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