<!DOCTYPE html> | |
<title>CSS Reference</title> | |
<link rel="author" title="Adobe" href="http://html.adobe.com/"> | |
<link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"> | |
<link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#relation-to-box-model-and-float-behavior"> | |
<meta name="flags" content="ahem"> | |
<head> | |
<style> | |
.container { | |
font: 20px/1 Ahem, sans-serif; | |
width: 20px; | |
height: 100px; | |
border: 1px solid black; | |
color: green; | |
display: inline-block; | |
-webkit-writing-mode: vertical-lr; | |
background-color: red; | |
} | |
</style> | |
<body> | |
<p>This should display two vertical green bars. You should not see any red.</p> | |
<div class="container"> | |
XXXXX | |
</div> | |
<div class="container"> | |
XXXXX | |
</div> | |
</body> |