mirror of
https://github.com/adulau/brouilleursdeblanc.git
synced 2024-11-24 11:07:14 +00:00
aadb22ffcf
- Add Bourbon and Neat
14 lines
343 B
SCSS
14 lines
343 B
SCSS
@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;
|
|
}
|
|
}
|