how to style component when website is multi-language & second language is RTL?

Viewed 408

I have project in Nuxt that is multi language (english and persian) . and as you know Persian is RTL and English LTR how should I style components when language changed also style change ? I use tailwindCSS

1 Answers

Rtl is not supported in tailwindcss core.

You have some options to support rtl in your project:

If you are already familiar with Tailwind CSS, think about Windi CSS as an on-demand alternative to Tailwind, which provides faster load times, fully compatible with Tailwind v2.0 and with a bunch of additional cool features.

WindiCss Rtl page

Related