disable antialiasing

This commit is contained in:
cirroskais 2024-04-21 08:56:28 -04:00
parent ef9f2b9244
commit 3c279bf95d
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -14,6 +14,16 @@ body {
font-style: normal; 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 { .hero {
background-image: url(/img/background.jpg); background-image: url(/img/background.jpg);
background-repeat: no-repeat; background-repeat: no-repeat;