mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
32 lines
788 B
HTML
32 lines
788 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Writing Modes</title>
|
|
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
|
|
<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes">
|
|
<style type="text/css">
|
|
body {
|
|
margin: 0;
|
|
}
|
|
div.outer {
|
|
background: red url("left-top-300x300.png");
|
|
height: 300px;
|
|
width: 300px;
|
|
text-align: end;
|
|
writing-mode: vertical-lr;
|
|
direction: rtl;
|
|
}
|
|
div.inner {
|
|
display: inline-block;
|
|
background-color: green;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="outer"><div class="inner"></div></div>
|
|
</body>
|
|
</html>
|