is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .translate-y-1/2

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



Check .translate-y-1/2 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/2 { --transform-translate-y: 50%; }

More in Tailwind CSS Transform