Tailwind CSS Classes

Tailwind CSS class .object-center

<img class="object-center object-none bg-gray-300 w-32 h-32 m-2 inline" src="https://tailwind.build/placeholders/icons/message.svg"/>

Preview

CSS source

.object-center { object-position: center; }

Check .object-center in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Tailwind CSS classes in Positioning category

© 2024 Shuffle. All rights reserved.