Tailwind CSS Classes

Tailwind CSS class .my-auto

<span class="my-auto inline-block bg-teal-400">Item</span>

Preview

CSS source

.my-auto { margin-top: auto; margin-bottom: auto; }

Check .my-auto 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 Margins category

© 2024 Shuffle. All rights reserved.