x
 
<!DOCTYPE html>
<html>
<head>
<style>
#parentDIV {
  position: relative;
  height: 250px;
  width: 60%;
  border: solid black 1px;
}
#myDIV {
  position: absolute;
  background-color: lightblue;
  width: 100%;
  inset-inline-start: 50px;
  writing-mode: vertical-rl;
}
</style>
</head>
<body>
<h1>inset-inline-start 属性</h1>
<p>在这里,inset-inline-start 属性受 CSS writing-mode 属性的影响。</p>
 
<div id="parentDIV">
  <div id="myDIV">
    <p>这个 DIV 在行内方向的开始处与父元素之间有 50 像素的距离。</p>
  </div>
</div>
</body>
</html>