Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
#parentDIV {
  width: 60%;
}
#parentDIV > div {
  writing-mode: vertical-rl;
  block-size: 100%;
  box-sizing: border-box;
}
.redDiv {
  background-color: rgb(239, 135, 88);
  inline-size: 10%;
}
#myDIV {
  background-color: lightblue;
  inline-size: 30%;
  border: solid black 1px;
  margin-inline-end: 50px;
}
</style>
</head>
<body>
<h1>The margin-inline-end Property</h1>
<p>Here, the margin-inline-end property is affected by the CSS writing-mode property.</p>
<div id="parentDIV">
  <div class="redDiv">div</div>
  <div id="myDIV">
    <p>This DIV element has a margin of 50 pixels from the start of DIV elementin the inline direction.</p>
  </div>
  <div class="redDiv">div</div>
</div>