is now part of Shuffle™. The new editor includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
Switch to Shuffle →
← Tailwind CSS classes list

Tailwind CSS class: .grid

<div class="bg-gray-400 p-2 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

One
Two
Three
Four

Check .grid in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

.grid {
    display: grid;
}

More in Tailwind CSS Display