mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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>
|