webseite-grav/plugins/git-sync/scss/vendor/bourbon/css3/_image-rendering.scss

15 lines
331 B
SCSS
Raw Normal View History

2021-04-30 11:23:26 +02:00
@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;
}
}