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 pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More CSS interview questions

View all →