Looking for a tailwind css utility class to automatically split a text in wordpress

Viewed 128

I am using wordpress and tailwind-css. To automatically split a text/paragraph currently i add a custom class to this wordpress element (in my case: cols). The code for this class is:

p.cols
  column-count: 2
  column-gap: 20px

This works fine, but i would rather use a tailwind utility class. Is there any chance to do this with tailwind?

1 Answers

I've found the solution in tailwindcss v3. Here you can use columns-[n].

Related