Skip to content

Glossary: Tailwind CSS

object-fit

Also written: object-cover

`object-cover` makes a photo fill its box and get trimmed instead of stretched, so images of different shapes line up.

Where the book teaches it

Related terms

aspect-ratio