Fit an Image to it's parent width and height without stretching | object-fit property

Опубликовано: 07 Октябрь 2024
на канале: ALB Dev
739
9

In this video you will learn how to fit an image to its parent width and height without stretching using only one line of CSS code.
This property is called object-fit and it can be really powerful in these cases when you want to fit the whole image to its parent width and height without stretching.

Don't forget to like subscribe and turn on bell notification for more videos like this.

Subscribe for more:    / @albdev