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: .inline-block

<div class="bg-gray-400 p-2">
  <div class="inline-block bg-teal-400">One</div>
  <div class="inline-block bg-teal-400">Two</div>



Check .inline-block 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

.inline-block {
    display: inline-block;

More in Tailwind CSS Display