CSS3 object-fit/object-position
Method of specifying how an object (image or video) should fit inside its box. object-fit options include "contain" (fit according to aspect ratio), "fill" (stretches object to fill) and "cover" (overflows box but maintains ratio), where object-position allows the object to be repositioned like background-image does.
css at-rule: `@media`: `aspect-ratio` media feature
css at-rule: `@media`: `device-aspect-ratio` media feature
css property: aspect-ratio
css property: aspect-ratio: auto
5 results found.