Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
div {
  background-color: rgb(239, 135, 88);
  width: 25%;
  height: 200px;
  float: left;
  box-sizing: border-box;
}
#ex1 {
  background-color: lightblue;
  border: solid black 1px;
  margin-inline-end: 50px;
  direction: rtl;
}
</style>
</head>
<body>
<h1>The margin-inline-end Property</h1>
<p>Here, the margin-inline-end 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 50 pixels from the end of DIV elementin the inline direction.</div>
<div>A div element with no specified margins.</div>
</body>
</html>