You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
331 B
15 lines
331 B
8 years ago
|
@mixin image-rendering ($mode:auto) {
|
||
|
|
||
|
@if ($mode == crisp-edges) {
|
||
|
-ms-interpolation-mode: nearest-neighbor; // IE8+
|
||
|
image-rendering: -moz-crisp-edges;
|
||
|
image-rendering: -o-crisp-edges;
|
||
|
image-rendering: -webkit-optimize-contrast;
|
||
|
image-rendering: crisp-edges;
|
||
|
}
|
||
|
|
||
|
@else {
|
||
|
image-rendering: $mode;
|
||
|
}
|
||
|
}
|