<html>
<head>
  <style>
    .inline-block {
      display: inline-block;
      margin: 10px;
      background-color: yellow;
    }
    .image-cropper {
      position: relative;
      overflow: hidden;
      border: 0px red solid;
    }
    .fixed-container {
      height: 80px;
      width: 80px;
    }
    .fixed-thick-container {
      height: 120px;
      width: 120px;
    }
    .centered-out {
      position: absolute;
      left: -10;
      top: -10;
    }
    .centered-in {
      position: absolute;
      left: 10;
      top: 10;
    }
    .centered-in {
      position: absolute;
      left: 10;
      top: 10;
    }
    .centered-in-table {
      position: absolute;
      left: -10;
      top: -10;
    }
    .scaled-down {
      transform: scale(0.8);
    }
    .scaled-up {
      transform: scale(1.333);
    }
    .scaled-down-table {
      transform: scale(0.4);
    }
  </style>
</head>
<body>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-down" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-thick-container"><img class="centered-in scaled-down" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-up" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-thick-container"><img class="centered-in scaled-up" src="resources/svg-100x100-intrinsic.svg"></div>
  <br>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-down" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-thick-container"><img class="centered-in scaled-down" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-up" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-thick-container"><img class="centered-in scaled-up" src="resources/svg-100x100-intrinsic.svg"></div>
  <br>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-down" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-container"><img class="centered-in-table scaled-down-table" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-container"><img class="centered-out scaled-up" src="resources/svg-100x100-intrinsic.svg"></div>
  <div class="inline-block image-cropper fixed-container"><img src="resources/svg-50x50-intrinsic.svg"></div>
</body>
</htm>
