<html>
<body>
<div style="border:2px solid black;width:600px;">
<div style="-webkit-writing-mode:vertical-lr; width:100px; height:100px; margin-left:50px; background-color:green"></div>
</div>

<div style="border:2px solid black;width:600px;direction:rtl">
<div style="-webkit-writing-mode:vertical-lr; width:100px; height:100px; margin-right:50px; background-color:green"></div>
</div>
