Kevin Powell

Which of the following CSS properties allows us to resize image elements within their boxes, the same way we can do `background-size: cover` or `background-size: contain` for background images?

1 week ago | [YT] | 133



@trinkel8

One of my most used concepts; both in web and print projects.

1 week ago | 1

@JohnSiebenthaler

YAY ME! was able to correctly guess based on InDesign options for controlling appearance...

6 days ago | 0

@ego-lay_atman-bay

Ever since I learned that onject-fit was for <img> elements, I've been using it all the time.

1 week ago | 1

@jessecalato4677

Well i had a lucky guess, but i did not know this. Thanks.

1 week ago | 0

@gojohnson2511

A true dopamine rush to guess correctly by reasoning it out with zero experience.

1 week ago | 0

@Augustjnr

Object fit: cover works most times 😅

1 week ago | 1

@JC-yy5nf

Object fit

1 week ago | 0

@moondogdev

Object fit ez

1 week ago | 1

@lgtvsmart4078

Good old hand written css is gone

1 week ago | 0