Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
#parentDiv {
  height: 300px;
  writing-mode: vertical-rl;
}
#myDiv {
  background-color: lightblue;
  border: solid black 1px;
  margin-block-start: 50px;
}
.redDiv {
  background-color: rgb(239, 135, 88);
  text-align: center;
}
</style>
</head>
<body>
<h1>The margin-block-start Property</h1>
<p>Here, the margin-block-start property is affected by the CSS writing-mode property.</p>
<div id="parentDiv">
  <div class="redDiv">div</div>
  <div id="myDiv">
    <p>This DIV has a margin of 50 pixels from the start in the block direction.</p>
  </div>
  <div class="redDiv">div</div>
</div>
</body>
</html>