Object Fit

object_fit Sets image fitting behavior.

Example

Image { object_fit: cover }

Tailwind values

contain, cover, fill, none, scale-down.