A Deep Dive Into object-fit And background-size In CSS — Smashing Magazine
In this article, we will go through how `object-fit` and `background-size` work, when we can use them, and why, along with some practical use cases and recommendations. Let’s dive in.