← Tailwind CSS classes list

Tailwind CSS class: .-translate-x-px

<div class="bg-gray-300 w-64 h-6 m-2 ml-10"><div class="-translate-x-px transform bg-teal-400 h-6 w-8 ml-auto text-center">-px</div></div>

Preview

-px

CSS source

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

More in Tailwind CSS Transform