The "object-fit" CSS Property

New in CSS3

This property sets how the contents of a replaced element should be fitted to the box established by its used height and width.

Values for "object-fit"
CSS LevelValue
CSS 2.1(invalid)
CSS3"fill", "contain", "cover", "none", or "scale-down"

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem