Tailwind CSS Classes

Tailwind CSS class .-translate-x-48

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

Preview

Are you tired of writing HTML by hand?

CSS source

.-translate-x-48 { --transform-translate-x: -12rem; }

More Tailwind CSS classes in Transform category

© 2024 Shuffle. All rights reserved.