Open SasanFarrokh opened 4 years ago
Hi Sasan,
You might find the tailwindcss-dir plugin useful. It adds new ltr
and rtl
variants to Tailwind so that you can specify classes like ltr:pl-4 rtl:pr-4
and switch styles based on direction that way.
As for CSS Logical Properties and Values such as padding-inline-start
, float: inline-start;
, etc., I'm working on a Tailwind plugin for those. It's currently a work in progress, but I hope to get it to a state where I can share it soon, hopefully in the next few weeks or so. When I do I'll post it here on tailwindcss/discuss for feedback.
I hope this helps! Steve
Hi,
I had a suggestion, could utility classes use
start
,end
as their directions ? So we can add a configrtl: true
to change whole generated css? Something like :Thanks a lot