CSS Logical Properties

A property like margin-left seems fairly logical, but as Manuel Rego Casasnovas says:
Imagine that you have some right-to-left (RTL) content on your website your left might be probably the physical right, so if you are usually setting margin-left: 100px for some elements, you might want to replace that with margin-right: 100px.
Direction, writing mode, and even flexbox all have the power to flip things around and make properties less logical and more difficult to maintain than you’d hope. …
The post CSS Logical Properties appeared first on CSS-Tricks.

Link: https://blogs.igalia.com/mrego/2018/08/08/css-logical-properties-and-values-in-chromium/