:-moz-locale-dir(rtl) {
/* ... */
}`:-moz-locale-dir(rtl)` CSS pseudo-class / notebook
`:-moz-locale-dir(rtl)` CSS pseudo-class
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<p>If you're using a right-to-left interface, this should be red.</p>p:-moz-locale-dir(rtl) {
color: red;
}