Set image rendering scaling algorithm

This commit is contained in:
CrispyBaguette 2021-12-11 16:25:21 +01:00
parent f8f71c56e5
commit 0a27eea9ec

8
dist/index.html vendored
View File

@ -39,6 +39,14 @@
#output {
max-width: 100%;
align-self: center;
image-rendering: optimizeSpeed; /* Legal fallback */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Safari */
image-rendering: optimize-contrast; /* CSS3 Proposed */
image-rendering: crisp-edges; /* CSS4 Proposed */
image-rendering: pixelated; /* CSS4 Proposed */
-ms-interpolation-mode: nearest-neighbor; /* IE8+ */
}
@media print {
body {