CSS Logical Properties Playground

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

Try it in this playground