Simple Analytics

object-contain

The class object-contain is a Tailwind CSS class, part of the object fit classes in the category layout.

Resulting CSS

object-fit: contain;

Get Tailscan now

The absolute must-have tool for anyone using Tailwind CSS.

Build, design and debug your Tailwind website visually with Tailscan, right within the browser.

Get Tailscan now
video poster