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 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