Home Menu

dir

The dir CSS pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language.

Syntax

selector:dir() {
    property: value;
}

Examples

World Wide Web Consortium (W3C)

JesusBible
HTMLCSSJSPHPSVGMore
AboutTerms