seniorCSS
How do CSS Logical Properties map to physical properties?
Updated Apr 28, 2026
Short answer
Logical properties (e.g., margin-inline-start) adapt to the document's writing mode, replacing physical properties (e.g., margin-left).
Deep explanation
For left-to-right (LTR) languages, inline-start is left, and block-start is top. If the page switches to a right-to-left (RTL) language like Arabic, inline-start automatically flips to right. This allows a single stylesheet to support multi-directional layouts seamlessly.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro