property

Reading order — CSS reference

Assigns a child of a reading-flow container to an ordinal group. Lower groups precede higher groups; equal groups use the container reading flow. It does not reorder the DOM or change visual placement. Use only to resolve a meaningful mismatch in navigation.

Formal Syntax & Structure

css syntaxcss
reading-order: 1;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>reading-order</title><style>body{margin:8px;font:16px/24px sans-serif}#a{reading-flow:source-order}#b{reading-order:1}</style><body><nav id="a"><a id="b" href="#b">First</a> <a id="c" href="#c">Second</a></nav></body></html>
CSS Reference