RTL with logical properties. #396
Jeremy-EBSCO
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A couple of the
[dir="rtl"] {}
selectors could be removed if logical properties were used. I see a few components that could have them included:This would depend on the browsers/versions that PicoCSS is supporting, but considering there are newer pseudo-class selectors like :is() and :where(), I'm assuming that Pico is targeted for newer browsers that also support logical properties (there are some "partial supports" on 2 versions back https://caniuse.com/?search=logical).
To note: there are a couple of other .scss files that declare RTL but I don't believe that there are logical properties for background-positions, animations or transforms.
Beta Was this translation helpful? Give feedback.
All reactions