<!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: 10px 50px;
}
</style>
</head>
<body>
<h1>The margin-inline Property</h1>
<p>Here, the margin-inline 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 10 pixels from start of DIV element in the inline direction, and 50 pixels margin from the end.</p>
</div>
<div class="redDiv">div</div>
</div>