diff --git a/src/app.css b/src/app.css index e30be15..efc5d02 100644 --- a/src/app.css +++ b/src/app.css @@ -14,6 +14,16 @@ body { font-style: normal; } +//https://stackoverflow.com/questions/14068103/disable-antialising-when-scaling-images#14068216 +img { + image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */ + image-rendering: -moz-crisp-edges; /* Firefox */ + image-rendering: -o-crisp-edges; /* Opera */ + image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */ + image-rendering: pixelated; /* Universal support since 2021 */ + image-rendering: optimize-contrast; /* CSS3 Proposed */ +} + .hero { background-image: url(/img/background.jpg); background-repeat: no-repeat;