Edit in JSFiddle


              
<div class="container">
  <div class="red"></div>
  <div class="green"></div>
</div>
body {
  direction: rtl;
}
.red, .green {
  display: inline-block;
  height: 100px;
  width: 100px;
}
.red {
  background-color: red;
}
.green {
  background-color: green;
}