
img, embed, object, input, canvas, video {
    width: 100px;
    height: 100px;
    margin: 2px 10px;
    border: 1px solid black;
    background-color: gray;
}

.group { object-fit: contain; }
.group > *:nth-child(1) { object-position: center center; }
.group > *:nth-child(2) { object-position: 20px 10px; }
.group > *:nth-child(3) { object-position: 50% 25%; }
.group > *:nth-child(4) { object-position: bottom 10px right 10px; }
.group > *:nth-child(5) { object-position: bottom 10% right 30%; }
