Skip to content

Instantly share code, notes, and snippets.

@tameemsafi
Created January 30, 2018 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tameemsafi/f458dfd68e312ff3a2d7bb415e4dd66b to your computer and use it in GitHub Desktop.
Save tameemsafi/f458dfd68e312ff3a2d7bb415e4dd66b to your computer and use it in GitHub Desktop.
GDS - IE Specific mixin
@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