pseudo-class
:-moz-locale-dir(ltr) — CSS reference
Nonstandard Gecko selector for browser UI locale direction LTR, not document direction. Use document direction for content styling; it is intentionally different from browser locale.
Formal Syntax & Structure
css syntaxcss
div:-moz-locale-dir(ltr)Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>:-moz-locale-dir(ltr)</title><style>body{margin:0;background:white}#a{box-sizing:border-box}body{color:black}div:-moz-locale-dir(ltr){color:red}:dir(ltr){color:rgb(0,128,0)}</style><body><div id="a" dir="ltr">Left to right</div></body></html>