Hacker News new | ask | show | jobs
by ssddanbrown 1026 days ago
On a related note, support for "logical properties/values"[1] has become mature in recent years. These are alternatives to directional-based properties (top/left/bottom/right) which are adaptable to switching content/text directions.

[1] https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical...

1 comments

These have been standard on mobile platforms for a long time now (e.g. "leading" and "trailing" on iOS), good to see them making their way onto the web. They make building a language-agnostic UI a much more reasonable task.