is now part of Shuffle™. The new editor includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
Switch to Shuffle →
← Tailwind CSS classes list

Tailwind CSS class: .-translate-y-1

<div class="bg-gray-300 h-64 w-8 m-2 mt-8 inline-flex"><div class="-translate-y-1 transform bg-teal-400 h-6 w-8 mt-auto text-center">-1</div></div>

Preview

-1

Check .-translate-y-1 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.

CSS source

.-translate-y-1 { --transform-translate-y: -0.25rem; }

More in Tailwind CSS Transform