Image Format Cover

Component ID

2929285

Component name

Image Format Cover

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

6

Component created

Component changed

Component body

A module for providing a "cover" image format.

The cover image format resizes an image down (or optionally up) to the smallest
size that completely covers the specified height and width while maintaining
ratio. This is useful for optimizing images that can be used with the cover
value for object-fit and background-size.

It is also particularly helpful with Focal Point in conjunction with
object-fit/object-position or background-size/background-position