seniorCSS

CSS Writing Modes and Internationalization (i18n).

Updated Apr 28, 2026

Short answer

writing-mode changes the block flow direction, crucial for languages like Arabic (RTL) or Japanese (vertical).

Deep explanation

Modern CSS uses Logical Properties (e.g., margin-inline-start instead of margin-left). Logical properties adapt automatically based on the dir attribute or writing-mode. This prevents having to write separate stylesheets for LTR and RTL languages.

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 →