Tailwind CSS Classes

Tailwind CSS class .inline

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

Preview

CSS source

.inline {
    display: inline;
}

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

More Tailwind CSS classes in Display category

© 2024 Shuffle. All rights reserved.