Created
January 30, 2018 11:48
-
-
Save tameemsafi/f458dfd68e312ff3a2d7bb415e4dd66b to your computer and use it in GitHub Desktop.
GDS - IE Specific mixin
This file contains hidden or 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 ie-lte($version) { | |
@if & { | |
.lte-ie#{$version} & { | |
@content; | |
} | |
} @else { | |
.lte-ie#{$version} { | |
@content; | |
} | |
} | |
} | |
@mixin ie($version) { | |
@if & { | |
.ie#{$version} & { | |
@content; | |
} | |
} @else { | |
.ie#{$version} { | |
@content; | |
} | |
} | |
} | |
@mixin ie-gt($version) { | |
@if & { | |
.ie-gt-#{$version} & { | |
@content; | |
} | |
} @else { | |
.ie-gt-#{$version} { | |
@content; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment