Skip to content

Instantly share code, notes, and snippets.

@shrwnsan
Last active December 16, 2015 00:09
Show Gist options
  • Save shrwnsan/5345650 to your computer and use it in GitHub Desktop.
Save shrwnsan/5345650 to your computer and use it in GitHub Desktop.
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 a…
@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...
@shrwnsan
Copy link
Author

This gist won't be needed anymore as of June 12, 2013, with the release of Font Awesome version 3.2.0. Nice ^^

FortAwesome/Font-Awesome#935

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment