hivedav-website

Website for HiveDAV
git clone https://git.in0rdr.ch/hivedav-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_image-rendering.scss (331B)


      1 @mixin image-rendering ($mode:auto) {
      2 
      3   @if ($mode == crisp-edges) {
      4     -ms-interpolation-mode: nearest-neighbor; // IE8+
      5     image-rendering: -moz-crisp-edges;
      6     image-rendering: -o-crisp-edges;
      7     image-rendering: -webkit-optimize-contrast;
      8     image-rendering: crisp-edges;
      9   }
     10 
     11   @else {
     12     image-rendering: $mode;
     13   }
     14 }