Last active
December 16, 2015 00:09
-
-
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…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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