The dir pseudo-class will match elements by its directionality determined by the document language. Currently
rtl are common values - while
ltr stands for
/* declarations */
While elements with
ltr will have a red color,
rtl elements will have a blue color.
# Browser support
# Usage statistics (Alexa Top 1,250,000 sites)
Due to an extreme price increase of our statistics provider the data collection was stopped in September 2018.