Last active
December 27, 2015 10:28
-
-
Save ten1seven/7310942 to your computer and use it in GitHub Desktop.
Mixin for REM font size with IE8 fallback
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 rem($size, $base: 16) { | |
font-size: ($size + 0rem) / $base; | |
.lt-ie8 & { | |
font-size: $size * 1px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment