• 5月国民经济主要数据公布 下半年走势如何 2019-08-17
  • 精神在,没有什么坎是过不去的 2019-08-17
  • 高清:国青足球邀请赛 国青1 2019-08-13
  • 新飞行员开飞挑战“高险难” 试训滑跑起降课目 2019-08-13
  • 其中最糟糕的是;以外币收支作为本国货币之“锚”,再加以大开门的资本市场,这为国际资本周期性收割开了方便之门。 2019-08-07
  • 呵呵,有见地,有深度。 2019-08-07
  • 市场经济就是一种唯利是图的经济,是一种波动、走极端的经济,新时期的发展方式与结果就是如 此。那么指望市场经济来解决需要与不平衡的矛盾,对症下药了吗? 2019-08-01
  • 永济市区至大西高铁站引道工程加速推进 2019-08-01
  • 为超越而起舞(名师谈艺) 2019-07-30
  • 市民质疑西安一培训机构无证办学 机构:正在办理 2019-07-27
  • 紫光阁中共中央国家机关工作委员会 2019-06-24
  • 全世界最美的办公室都在这里了 快来一饱眼福 ——凤凰网房产 2019-06-23
  • 赵雅芝联合“我·爱我 女性健康工程”为乳腺健康共发声 2019-06-23
  • 蔬菜-热门标签-华商生活 2019-06-12
  • ZHG.blog的博客—强国博客—人民网 2019-06-12
  • 绝对一两两码中特:  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.

  • 5月国民经济主要数据公布 下半年走势如何 2019-08-17
  • 精神在,没有什么坎是过不去的 2019-08-17
  • 高清:国青足球邀请赛 国青1 2019-08-13
  • 新飞行员开飞挑战“高险难” 试训滑跑起降课目 2019-08-13
  • 其中最糟糕的是;以外币收支作为本国货币之“锚”,再加以大开门的资本市场,这为国际资本周期性收割开了方便之门。 2019-08-07
  • 呵呵,有见地,有深度。 2019-08-07
  • 市场经济就是一种唯利是图的经济,是一种波动、走极端的经济,新时期的发展方式与结果就是如 此。那么指望市场经济来解决需要与不平衡的矛盾,对症下药了吗? 2019-08-01
  • 永济市区至大西高铁站引道工程加速推进 2019-08-01
  • 为超越而起舞(名师谈艺) 2019-07-30
  • 市民质疑西安一培训机构无证办学 机构:正在办理 2019-07-27
  • 紫光阁中共中央国家机关工作委员会 2019-06-24
  • 全世界最美的办公室都在这里了 快来一饱眼福 ——凤凰网房产 2019-06-23
  • 赵雅芝联合“我·爱我 女性健康工程”为乳腺健康共发声 2019-06-23
  • 蔬菜-热门标签-华商生活 2019-06-12
  • ZHG.blog的博客—强国博客—人民网 2019-06-12
  • 大乐透历史开奖2007至今 新时时豹子遗漏 4场进球开奖 重时时彩五星综合走势 1分pk拾精准计划 天津时时和值三星走势图 重庆时时号码找盛通 一分赛车技巧 云南快乐10分钟开奖走势图 至尊彩app有人知道吗