Dev Helpers
← Back

Add a divider between text columns

Add a divider between text 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 [column-rule:1px_solid_#64748b]">
  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>