The object-fit property adjusts the content to the box size of the element. It is practically useful to scale automatically the content of image and video tags.
Discover all available topics.
CSS tutorials, code snippets and tips
tutorials, Coding tips, Design tips, How to ...