Language-dependent styling


Language-dependent styling allows to fine-tune presentation

The language pseudo-class:
*:lang(xx) { <something> }
Matches elements in (human) language xx (exactly)
Attribute selector for hyphen-separated tags
*[lang|=yy] { <something else> }
Matches any element whose lang attribute has a hyphen-separated list of tokens beginning with "yy" (hierarchical matching).