Dev Helpers
← Back

Flow text into two columns

Flow text into two columns with Tailwind CSS 4 utilities. The preview uses precompiled styles.

Open this example in the interactive library

Source code

<div class="demo columns-2 gap-4">
  A good reference makes it easy to find a pattern, see it in a browser, and
  adapt it to your own work. This sample text is long enough to show how content
  flows between columns.
</div>