<div class="list-item">
  <div class="list-item__image-container">
    <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTEhMWFRUWGBcXFxUXFxcXFxcVFxYWFxgdFxcYHSggGBolHRUYITEhJSkrLi4uFx8zODMtNygtLisBCgoKBgUGDg8FDisZExkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAKkBKgMBIgACEQEDEQH/xAAcAAABBQEBAQAAAAAAAAAAAAAEAQIDBQYHAAj/xABHEAABBAAEAwUEBgcGAwkAAAABAAIDEQQSITEFQVEGEyJhcTKBkaEHM0KxwfAUI1JikrLRCCQ0U3JzNcLxFRZDdIKis9Lh/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AMrRpNjZ1RL2m6Tu6QNZBY2UbYDzR0bq809xHQIBGsaVMyMDZI4J8TgN0BUbVK1loZuIRTJwgiliQL2q2sEaIWSBABlTO55oql4M5IAiFEQj5IVEcOgFy0iuJB0TIjFTsx8eYE0CA4Buh01Jva/nNwjCudOygDRsg7Vt95XQ+BcHaHW6nXZJIHPU1ew5aIMlwrgGJexjJQ/KXXTTWSgNRYOu+/l6o7/ufNE4ZHEtDmuAJtwo2CP2aOuh9x2XS4MNWjN9L9NlBiYXts610+N+aDPP75oIdYNaObZq69pvT3clm+LT4izu6qtvMC9MuUAgCzrzAC0XFMVJqNNNBfryVbg5nCy83Va/HYk7D8UGK43OCzPnIOYNLMturKTrY03Gut1zOzTNhyzM59Frbqi29RWh9n7Q57LR8fYXaljSALursg0Kv86rJy8Kle5ssDAWmmkB3dhpB1tpNDyqt76IHnCkgOYCWuOmxPXYa80O+GjR+SJ4PO6HIHtdR1o6B5y1QcQS0D2vUAjqSsTG1wL28j4hly1dmiBzHUbggoKebDoUx0CrHE0hxFYKCsYVK1qcIaKdkQMLVERqimsSSQ2gga8qViQtpOIQO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6qRiBTGN6Cda8dmrx3+CBQmnovOXgguux2HBkeTs3LmHVjszXfnzK63x/tPJhW4GZpzvY2WGZhOk0LTF7XnRDg7kSeRIPMewPt4n/ZH84W07d/4fCes/8ALCgveJcNw2Nw5nwpzwP9pv24X708bgj86UVyjtLE7DROifu52Vp08TB4ifTUfxeS3H0Lf8Qxf+x+JWO+lX66H/bd/O5BimtLiANTsAulfRF2HhxRlxeNH92w+7eUkgGYhx3ytFEgblwHUHC9nfr2eq7j2I/4Fiv/ADEn88SDNfSP2uL42RRxRx4aN4eIQ0ZXZLEYfVCro5Ryad1yUN5lbDt17Df9RWUl/PwQQOXqSFPagcY9EgUwUbt0EjW6Lzyncvz5Jj0ET1G8qR/9VEUDth6pie9MQE8MkyzRO6PYfg4FfQBjFr59wP1jP9Tf5gvoWb2h6oCcC0ahNc3VNwXtlSuQf//Z" />
  </div>
  <div class="list-item__text-container">
    <h1>Ray Charles</h1>
    <p>Ray Charles Robinson was an American singer, songwriter, musician, and composer. Among friends and fellow musicians he preferred being called "Brother Ray". He was often referred to as "The Genius."</p>
    <a href="https://en.wikipedia.org/wiki/Ray_Charles" target="_blank">Full article</a>
  </div>
</div>
* {
  font-family: Helvetica, sans-serif;
  margin: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.list-item {
  position: relative;
  width: 500px;
  background: #1e1e1e;
  border-radius: 5px;
  color: white;
  box-shadow: 0 0 10px 5px rgba(black, 0.05);
  transition: 1s ease-out;
  &:hover {
    transform: scale(1.01);
  }
  &__image-container {
    width: 100%;
    height: 300px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }
  &__text-container {
    padding: 40px;
    h1 + p {
      margin-top: 10px;
    }
    p + a {
      display: inline-block;
      margin-top: 10px;
    }
    p {
      line-height: 1.5;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
    a {
      color: inherit;
      &:hover {
        &::before {
          box-shadow: 0 0 20px 20px rgba(black, 0.1);
        }
      }
      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transition: 1s;
      }
    }
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.