One note style from Mr. Karim on three boards, Indonesian (ltr), Arabic (rtl) and Japanese (vertical): the browser answers which physical side…
Why it matters
Once your product supports an RTL language (Arabic, Hebrew, Persian), physical CSS flips the layout halfway and needs [dir=rtl] overrides everywhere. Logical properties = one CSS for every reading direction.
The key idea
Logical properties point at the reading direction, not a screen side
Common mistakes
Mixing margin-left and margin-inline-start in one project In LTR they are the same property, so the later one wins; in RTL they are opposite sides. LTR and RTL quietly differ. Pick logical, consistently, resets included.
Using logical properties, but nothing changes Logical follows dir (and writing-mode), not lang or the text itself. Without dir="rtl" on <html> or the element, start stays on the left.
Thinking start always means leftstart = left in LTR, right in RTL, the top in vertical-rl. Do not bake in a side; that is the point of logical.
Try it in this playground
Change margin-left to margin-inline-start On the Arabic board that line now becomes margin-right, and the indent moves to the right.
Make the Arabic board a mirror Every side stuck to the left must go logical, corners and text-align included.
Turn on the writing-mode: vertical-rl board Watch inline-start become the top. width and padding-top give themselves away as physical.
Pick "dir forgotten" while the CSS is logical The Arabic letters still run right to left, but start becomes the left: logical follows dir, not the language.