Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] For those looking to add support to IE7, using SASS #935

Closed
shrwnsan opened this issue Apr 9, 2013 · 2 comments
Closed

[Enhancement] For those looking to add support to IE7, using SASS #935

shrwnsan opened this issue Apr 9, 2013 · 2 comments

Comments

@shrwnsan
Copy link

shrwnsan commented Apr 9, 2013

For those wishing to have a .scss version of fontawesome-ie7.less... here you go:

@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...

https://gist.github.com/stechico/5345650

Hoping I got the conversion right based on the converted *ie7.css file. HTH

@davegandy
Copy link
Member

This is now in the latest.

@shrwnsan
Copy link
Author

Sweets. Thanks Dave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants