CSS Pseudo-class :lang
This selector selects elements by their coding in a natural language. The language information has to be connected with the xml/html file. You can't change it with CSS. Usually, :lang selects elements by looking at the lang-attribute. If an element has no lang-attribute, the lang-attribute of its parent-elements and so on will be used.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
All | All | All | All | All |