Sha256: e5534a5d4dbefdb8f437d53e8b726338f712f14d9c495a4544cf1d335d2a6225

Contents?: true

Size: 343 Bytes

Versions: 348

Compression:

Stored size: 343 Bytes

Contents

@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;
  }
}

Version data entries

348 entries across 339 versions & 11 rubygems

Version Path
smock-0.1.17 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.16 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.15 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.14 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.13 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.12 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.11 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.10 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.8 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
smock-0.1.7 app/assets/stylesheets/thirdparty/bourbon/css3/_image-rendering.scss
wrgem-0.0.32 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.31 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.30 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.29 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.28 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.27 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.26 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.25 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.24 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss
wrgem-0.0.23 lib/generators/wrstart/template/vendor/assets/components/bourbon/dist/css3/_image-rendering.scss