← Tailwind CSS classes list

Tailwind CSS class: .translate-y-px

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

Preview

px

CSS source

.translate-y-px { --transform-translate-y: 1px; }

More in Tailwind CSS Transform