stechico
4/9/2013 - 1:21 PM

Font Awesome: For those looking to add support for IE7, and using SASS: 1. Copy-paste https://github.com/FortAwesome/Font-Awesome/blob/ma

Font Awesome: For those looking to add support for IE7, and using SASS:

  1. Copy-paste https://github.com/FortAwesome/Font-Awesome/blob/master/less/font-awesome-ie7.less
  2. Rename to "font-awesome-ie7.scss"
  3. Move to your relative /scss folder
  4. Find and replace the corresponding snippets between your LESS and SCSS file. Use the included gist as reference.
@mixin ie7icon($arguments...) {
  *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = #{$arguments});
}
.icon-music { @include ie7icon(''); }
.icon-search { @include ie7icon(''); }
.icon-envelope { @include ie7icon(''); }
// and so on...