Menu
Samaritan's Purse

DIR

The dir 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)