Landings

Tailwind CSS

Object Fit

Utilities for controlling how a replaced element's content should be resized.

ClassProperties
object-containobject-fit: contain;
object-coverobject-fit: cover;
object-fillobject-fit: fill;
object-noneobject-fit: none;
object-scale-downobject-fit: scale-down;