← Tailwind CSS classes list

Tailwind CSS class: .translate-x-6

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

Preview

6

CSS source

.translate-x-6 { --transform-translate-x: 1.5rem; }

More in Tailwind CSS Transform