• 蔬菜-热门标签-华商生活 2019-06-12
  • ZHG.blog的博客—强国博客—人民网 2019-06-12
  • 科学用血献血,你要get这些知识点 2019-06-09
  • 中央第四环保督察组向江西移交1034件信访问题线索 2019-06-08
  • 东风悦达起亚家园获第十二届人民企业社会责任奖年度案例奖 2019-06-07
  • Chongqing to open 86 civil air defense projects freely for the public to enjoy the cool - Chongqing News - CQNEWS 2019-06-06
  • 【理上网来·辉煌十九大】习近平新时代中国特色社会主义经济思想对中国经济学理论的贡献 2019-06-06
  • 对于不听话的人,中国有句古语形容,叫做“有爹生无娘教”。它是什么意思你懂吗?我家的孩子和后人,永远都得听包括我在内的前辈怎么教他们做人,因为他们之所以能为人,是 2019-06-05
  • 人的本质的演变规律:从原始母系氏族社会的公有者经过父系氏族社会私有和公有双重所有者而演变为私有制阶级社会的私有者,然后经过现代社会公有和私有双重所有者... 2019-06-05
  • 女性之声——全国妇联 2019-06-04
  • 央视4频道每天下午播放。 2019-06-04
  • 2018世界杯进入倒计时  莫斯科举行大型灯光秀 2019-06-03
  • 王道涵括霸道 中国战略思维能超越西方精算思维 2019-06-03
  • 最后一句有点看不懂。 2019-06-02
  • 选秀大年!2018新秀天赋爆满 巴克利:看见下个詹姆斯 2019-06-02
  • 绝对一两两码中特:  Get Started

    轻松的在你网站上使用Font Awesome 4.7.0

    Font Awesome CDN is the easiest way to get Font Awesome on your website or app, all with just a single line of code. No downloading or installing!

    We create new embed codes for each website so you can quickly upgrade and change your preferences all without ever pushing code. To do this, we need an email address so we know which embed codes are yours and so you can come back and manage them.

    Icons on your site. Fast.

    Don't mess with files locally or in production. You'll get all of Font Awesome's 634 icons plus CSS toolkit - all optimized for speed and no hassle.

    Super-simple upgrades

    Since each site gets a unique embed code, you can easily upgrade to the latest version of Font Awesome, all without pushing any code. Easy peasy.

    Auto accessibility support

    Font Awesome CDN helps you automate accessibility support more easily so your icons work for the most people possible. Read up on our accessibility best practices.

    Async your icons

    Want to speed up your page loads? So do we. Have your icons load in the background so your site loads faster.

    or

    Want to manage and host Font Awesome assets yourself? You can download, customize, and use the icons and default styling manually. Both CSS and CSS Preprocessor (Sass and Less) formats are included.

    使用 CSS

    1. 复制 font-awesome 目录到你的项目中
    2. <head>处加载font-awesome.min.css如下。
      <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
    3. 查看 案例 以获取 Font Awesome 的使用方法。

    使用 Sass or Less

    使用 LESS or SASS 来个性化自定义Font Awesome 4.7.0

    1. 复制 font-awesome/ 目录到你的项目中。
    2. 打开你项目中的 font-awesome/less/variables.lessfont-awesome/scss/_variables.scss 然后编辑 @fa-font-path$fa-font-path 变量来指定字体目录。
      @fa-font-path:   "../font";

      字体的路径是相对于你CSS目录的。

    3. 如果你使用一个静态编译器,请重新编译你的 LESS 或 SASS。
    4. 查看 案例 以获取 Font Awesome 的使用方法。
    or

    LESS Ruby Gem

    Use the Official Font Awesome LESS Ruby Gem to easily get Font Awesome LESS into a Rails project. Generously maintained by @supercodepoet.

    1. Add this line to your application's Gemfile:
      gem 'font-awesome-less'
    2. And then execute:
      $ bundle
    3. Or install it yourself as:
      $ gem install font-awesome-less

    If you use Rails, add this to your e.g. application.less:

    @import "font-awesome-sprockets";
    @import "font-awesome";

    SASS Ruby Gem

    Use the Official Font Awesome SASS Ruby Gem to easily get Font Awesome SASS into a Rails or Compass project. Generously maintained by @supercodepoet.

    1. Add this line to your application's Gemfile:
      gem 'font-awesome-sass'
    2. And then execute:
      $ bundle
    3. Or install it yourself as:
      $ gem install font-awesome-sass

    If you use Rails, add this to your e.g. application.scss:

    @import "font-awesome-sprockets";
    @import "font-awesome";

    Validators

    In order to provide the best possible experience to old and buggy browsers, Font Awesome uses CSS browser hacks in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren't yet fully standardized, but these are used purely for progressive enhancement.

    These validation warnings don't matter in practice since the non-hacky portion of our CSS does fully validate and the hacky portions don't interfere with the proper functioning of the non-hacky portion, hence why we deliberately ignore these particular warnings.

    Getting started - Validators by Bootstrap Team is licensed under CC BY 3.0

    Internet Explorer 8 and @font-face

    IE8 has some issues with @font-face when combined with :before. Font Awesome uses that combination. If a page is cached, and loaded without the mouse over the window (i.e. hit the refresh button or load something in an iframe) then the page gets rendered before the font loads. Hovering over the page (body) will show some of the icons and hovering over the remaining icons will show those as well. See issue #954 for details.

    Getting started - Internet Explorer 8 and @font-face by Bootstrap Team is licensed under CC BY 3.0

    Need IE7 Support?

    IE8 has some issues with @font-face when combined with :before. Font Awesome uses that combination. If a page is cached, and loaded without the mouse over the window (i.e. hit the refresh button or load something in an iframe) then the page gets rendered before the font loads. Hovering over the page (body) will show some of the icons and hovering over the remaining icons will show those as well. See issue #954 for details.

    Getting started - Internet Explorer 8 and @font-face by Bootstrap Team is licensed under CC BY 3.0

    Troubleshooting

    If you're having trouble with Font Awesome, make sure to check out the troubleshooting wiki page. Generously maintained by @gtagliala.

  • 蔬菜-热门标签-华商生活 2019-06-12
  • ZHG.blog的博客—强国博客—人民网 2019-06-12
  • 科学用血献血,你要get这些知识点 2019-06-09
  • 中央第四环保督察组向江西移交1034件信访问题线索 2019-06-08
  • 东风悦达起亚家园获第十二届人民企业社会责任奖年度案例奖 2019-06-07
  • Chongqing to open 86 civil air defense projects freely for the public to enjoy the cool - Chongqing News - CQNEWS 2019-06-06
  • 【理上网来·辉煌十九大】习近平新时代中国特色社会主义经济思想对中国经济学理论的贡献 2019-06-06
  • 对于不听话的人,中国有句古语形容,叫做“有爹生无娘教”。它是什么意思你懂吗?我家的孩子和后人,永远都得听包括我在内的前辈怎么教他们做人,因为他们之所以能为人,是 2019-06-05
  • 人的本质的演变规律:从原始母系氏族社会的公有者经过父系氏族社会私有和公有双重所有者而演变为私有制阶级社会的私有者,然后经过现代社会公有和私有双重所有者... 2019-06-05
  • 女性之声——全国妇联 2019-06-04
  • 央视4频道每天下午播放。 2019-06-04
  • 2018世界杯进入倒计时  莫斯科举行大型灯光秀 2019-06-03
  • 王道涵括霸道 中国战略思维能超越西方精算思维 2019-06-03
  • 最后一句有点看不懂。 2019-06-02
  • 选秀大年!2018新秀天赋爆满 巴克利:看见下个詹姆斯 2019-06-02
  • 热刺球衣赞助商 西甲赫罗纳对赫塔菲预测 阿尔赖扬vs希拉尔胜负 奥格斯堡历史 西汉姆联赞助商 里昂vs里尔比分结果 兰斯9be 法国波尔多白葡萄酒 黑龙江时时彩投注 快乐十分任三稳赚技巧