-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-logical] Allow logical values in CSS gradients #8015
Comments
The keywords might need to reflect the axis too, I think?
Also this works for corners, but what about angles? For instance you might want a |
This is similar to #6270 (regarding RTL for radial and conic gradients). Regarding angles, could the new keywords be combined with |
Duplicate of #1724 |
An improvement to CSS logical properties would be to allow using the logical values within CSS gradients. One use-case for that is having a gradient from left-to-right for LTR and from right-to-left for RTL languages.
Without CSS logical properties, we need to flip the gradient manually.
If we allow using the logical values, it would look like the following.
@jonathantneal has something about that here.
Not sure if there any side effects of implementing this feature. Happy to provide more use-cases and demos!
The text was updated successfully, but these errors were encountered: