<html><head><style>#parentDIV { position: relative; height: 250px; width: 60%;}#myDIV { position: absolute; background-color: lightblue; inset-block: 10px 50px;}div { border: solid black 1px;}</style></head><body><h1>inset-block 属性</h1><div id="parentDIV"> <div id="myDIV"> <p>这个 DIV 的大小由块方向开始处与父 DIV 元素之间的 10 像素距离,以及块方向结束处与父元素之间的 50 像素距离来决定。</p> </div></div></body></html>