isso/docs/_static/css/bourbon/css3/_image-rendering.scss

14 lines
310 B
SCSS
Raw Permalink Normal View History

2013-11-24 20:43:57 +00:00
@mixin image-rendering ($mode:optimizeQuality) {
@if ($mode == optimize-contrast) {
image-rendering: -moz-crisp-edges;
image-rendering: -o-crisp-edges;
image-rendering: -webkit-optimize-contrast;
image-rendering: optimize-contrast;
}
@else {
image-rendering: $mode;
}
}