← Tailwind CSS classes list

Tailwind CSS class: .translate-y-20

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

Preview

20

CSS source

.translate-y-20 { --transform-translate-y: 5rem; }

More in Tailwind CSS Transform