Relative Content

Tag Archive for next.jstailwind-csstailwind-uitailwind-3tailwind-variants

In tailwindCss config file, I have to add my own class names which will be consisting of tailwind classes. How to do that?

To use flex, I have to write flex justify-between items-center in all element classNames, but I have to make a general class let us say “flexBetween” which will have all these flex justify-between items-center properties and now instead of writing this much big class names, I can simply write className="flexBetween" in html elements props.
I wish to make dozens of such customised classes in my tailwind.config file. How to achieve it?