<div>
  <img src="https://via.placeholder.com/200" alt="placeholder">
  <img src="https://via.placeholder.com/200" alt="placeholder">
  <img src="https://via.placeholder.com/200" alt="placeholder">
</div>
div {
  width: max-content;
  margin: 20px;
  background: hotpink;
  line-height: 0;
  letter-spacing: -5px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.