<!DOCTYPE html>
<html>
<head>
<style>
div {
background-color: rgb(239, 135, 88);
width: 25%;
height: 250px;
float: left;
}
#ex1 {
background-color: lightblue;
border: solid black 1px;
margin-inline: 10px 50px;
direction: rtl;
}
</style>
</head>
<body>
<h1>The margin-inline Property</h1>
<p>Here, the margin-inline property is affected by the CSS direction property.</p>
<div>A div element with no specified margins.</div>
<div id="ex1">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.</div>
<div>A div element with no specified margins.</div>
</body>
</html>