disable antialiasing
This commit is contained in:
parent
ef9f2b9244
commit
3c279bf95d
1 changed files with 10 additions and 0 deletions
10
src/app.css
10
src/app.css
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue