mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 02:05:42 +00:00
844639b0ad
MozReview-Commit-ID: 6KvILd31r9Y --HG-- extra : rebase_source : 68c820453ca2d27fda63b645cdab65dddfa90c31
16 lines
319 B
HTML
16 lines
319 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>dir() selector</title>
|
|
<style>
|
|
:not(: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>
|