Tailwind CSS Classes

Tailwind CSS class .translate-y-40

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

Preview

Are you tired of writing HTML by hand?

CSS source

.translate-y-40 { --transform-translate-y: 10rem; }

More Tailwind CSS classes in Transform category

© 2024 Shuffle. All rights reserved.