nearest neighbor image rendering #4
8
dist/index.html
vendored
8
dist/index.html
vendored
@ -39,6 +39,14 @@
|
|||||||
#output {
|
#output {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
align-self: center;
|
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 {
|
@media print {
|
||||||
body {
|
body {
|
||||||
|
Loading…
Reference in New Issue
Block a user