MDN self-hosted library · e01.org

`:-moz-locale-dir(ltr)` CSS pseudo-class

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
:-moz-locale-dir(ltr) {
  /* ... */
}
html
<p>If you're using a left-to-right interface, this should be red.</p>
css
p:-moz-locale-dir(ltr) {
  color: red;
}