Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles
Last updated on : 2023-03-20
The CSS property: writing mode decides the direction of the text written on a web page. Along with the direction of text, it also takes values for the direction of the text block. A text block defines how a sentence is read to be meaningful. A right-left text block with vertical direction signifies that each word comes vertically behind each other while sentence flow is from the right to left depending on the web page scripts. ##Supported values | Value | Definition | | — | —| | horizontal-tb | Depends on the script of the web page. The sentence flow is horizontal - next below the previous one | | vertical-rl | LTR scripts flow top to bottom and the sentence flow is left to the previous one. RTL scripts flow bottom to top. The next sentence is placed to the right of the previous sentence.| | vertical-lr | LTR scripts flow top to bottom with sentence flow right to the previous one. RTL scripts flow bottom to top while sentence flow is left to the previous one.| |sideways-rl| LTR scripts flow bottom to top vertically. RTL scripts flow top to bottom. The sentence flow remains towards the right in both. | |sideways-lr | LTR scripts flow top to bottom vertically. RTL scripts flow bottom to top vertically. The sentence flow remains towards the left in both.| ##CSS Syntax writing-mode : horizontal-tb;
Inherited
yes
Applies to
all elements except table row groups, table column groups, table rows, and table columns
Initial value
horizontal-tb
Animation type
discrete
Computed value
as specified
CSS Writing Modes Level 4 # block-flow
/* Keyword values */
writing-mode: horizontal-tb;
writing-mode: vertical-rl;
writing-mode: vertical-lr;
/* Global values */
writing-mode: inherit;
writing-mode: initial;
writing-mode: revert;
writing-mode: unset;
direction.htm
Source:direction.htm
index.html
Source:index.html
site.css
Source:site.css
Browser Support For Android Browser Versions
Browser Support For Chrome for Android Versions
Browser Support For Firefox for Android Versions
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeTest your website on 3000+ real browsers and operating systems for mobile and desktop with the LambdaTest cloud. Perform browser compatibility test for CSS writing-mode property and many more web technologies that are a part of your website or web-application.
Last Modified date
2023-03-20
Data sourced from
Debug webpages on the go with LT Debug Chrome extension.
Add to ChromeHarness the power of Chromium-based engine to deliver responsive websites and web apps.
Try for freeGet 100 minutes of automation test minutes FREE!!