mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
16 lines
324 B
HTML
16 lines
324 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>dir() selector</title>
|
|
<style>
|
|
:not(:-moz-dir(rtl)) + div { color: blue }
|
|
div { color: lime; text-align: left; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div dir="rtl">This element is rtl.</div>
|
|
<div>This element has default direction.</div>
|
|
</body>
|
|
</html>
|