property

Reading flow — CSS reference

Changes the order in which a reading-flow container exposes its children to sequential navigation and reading. flex-visual follows visual flex order relative to the writing direction; normal leaves ordinary source order. Prefer meaningful DOM order and avoid positive tabindex.

Formal Syntax & Structure

css syntaxcss
reading-flow: flex-visual;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>reading-flow</title><style>body{margin:8px;font:16px/24px sans-serif}#a{display:flex;flex-direction:row-reverse;reading-flow:flex-visual;justify-content:flex-end}</style><body><nav id="a"><a id="b" href="#b">First</a><a id="c" href="#c">Second</a></nav></body></html>
CSS Reference