<!DOCTYPE html>
<html>
<head>
<title>object-position on images with object-fit:none and smaller images</title>
<style type="text/css">
.group > div {
display: inline-block;
overflow: hidden;
width: 100px;
height: 100px;
margin: 2px 10px;
border: 1px solid black;
padding: 5px;
background-color: gray;
}
.group > div > div { overflow: hidden; height:100%; }
.group > div > div > * { display: block; width:72px; height:36px; }
.group > *:nth-child(1) > div > * { margin-left: 28px; }
.group > *:nth-child(2) > div > * { margin-top: 64px; }
.group > *:nth-child(3) > div > * { margin-left: 10px; margin-top: 80px; }
.group > *:nth-child(4) > div > * { margin-left: 56px; margin-top: 32px; }
.group > *:nth-child(5) > div > * { margin-left: -28px; margin-top: 32px; }
.group > *:nth-child(6) > div > * { margin-left: -7px; margin-top: -10px; }
.group > *:nth-child(7) > div > * { margin-left: 72px; }
.group > *:nth-child(8) > div > * { margin-top: 72px; }
.group > *:nth-child(9) > div > * { margin-left: 300px; }
.group > *:nth-child(10) > div > * { margin-left: 300px; }
.group > *:nth-child(11) > div > * { margin-left: 30px; margin-top: 30px; }
.group > *:nth-child(12) > div > * { margin-left: 20px; margin-top: 32px; }
.group > *:nth-child(13) > div > * { margin-left: 14px; margin-top: 48px; }
.group > *:nth-child(14) > div > * { margin-left: 16px; margin-top: 44px; }
.group > *:nth-child(15) > div > * { margin-left: 14px; margin-top: 32px; }
</style>
</head>
<body>
<div class="group">
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
<div><div><img src="resources/circles-landscape-small.png"></div></div>
</div>
</body>
</html>