set img rendering to pixelated

This commit is contained in:
HorizonCode 2022-08-11 16:23:42 +02:00
parent 5f271367f0
commit c4978fa9a2

View File

@ -10,7 +10,7 @@
<body style="background-color: #121212"> <body style="background-color: #121212">
<div> <div>
<img id="image" src="http://localhost:3000/image" width="700" style="display: block; margin: auto;" /> <img id="image" src="http://localhost:3000/image" width="700" style="display: block; margin: auto; image-rendering: pixelated;" />
<br> <br>
<div style="position: absolute; left: 50%; transform: translate(-50%, 0);"> <div style="position: absolute; left: 50%; transform: translate(-50%, 0);">
<a id="UP" class="button"> <a id="UP" class="button">