Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<style>
.vrl {
writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
writing-mode: tb-rl;
}
</style>
</head>
<body dir=rtl>
<div style="height:600px;">
<div style="height:0px;width:0px;overflow:visible">
<div style="height:100px;width:120px;background:rgba(0,255,0,0.8);display:inline-block;margin-top:500px;"></div>
</div>
<div style="height:0px;width:0px;overflow:visible">
<div style="height:100px;width:150px;background:rgba(255,0,0,0.8);display:inline-block;margin-top:400px;"></div>
</div>
<div dir=ltr class="vrl" style="background:silver; height: 100%;">
<div style="padding-bottom: 200px; direction:rtl">This text should appear ABOVE the red and green blocks.</div>
</div>
</div>
</body>
</html>