blob: 1dfd7dacac002349763e7b79c00a156c40fd39cd [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.clipper {
display: inline-block;
margin: 2px;
height: 100px;
width: 100px;
overflow: hidden;
border: 1px solid black;
}
img {
image-rendering: pixelated;
height: 1100px;
width: 1100px;
}
.backgrounder {
height: 1100px;
width: 1100px;
background-image: url('resources/grid-small.png');
background-size: 100%;
}
</style>
</head>
<body>
<div class="clipper">
<img src="resources/grid-small.png" width="11" height="11" style="image-rendering: auto;">
</div>
<div class="clipper">
<img src="resources/grid-small.png" width="11" height="11" style="image-rendering: pixelated;">
</div>
<div class="clipper">
<img src="resources/grid-small.png" width="11" height="11" style="image-rendering: crisp-edges;">
</div>
<div class="clipper">
<div class="backgrounder" style="image-rendering: auto;"></div>
</div>
<div class="clipper">
<div class="backgrounder" style="image-rendering: pixelated;"></div>
</div>
<div class="clipper">
<div class="backgrounder" style="image-rendering: crisp-edges;"></div>
</div>
</body>
</html>