Tailwind CSS Classes

Tailwind CSS class .inline-grid

<div class="bg-gray-400 p-2 inline-grid gap-2 grid-cols-2">
  <div class="bg-teal-400">One</div>
  <div class="bg-teal-400">Two</div>
  <div class="bg-teal-400">Three</div>
  <div class="bg-teal-400">Four</div>
</div>

Preview

Are you tired of writing HTML by hand?

CSS source

.inline-grid {
    display: inline-grid;
}

More Tailwind CSS classes in Display category

© 2024 Shuffle. All rights reserved.