我怀疑答案是一个非常确定的不,但给了以下的HTML和CSS,是否有一些调整(无需编辑HTML)我可以做到绝对定位“东西”显示,同时保持其他溢出内容隐藏。可以定位:绝对元素以某种方式从溢出中溢出:隐藏的容器?
<div class="wrap">
<p>Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. Loads of words. </p>
<div class="thing">thing</div>
</div>
.wrap {
width: 100px;
height: 100px;
overflow:hidden;
position:relative;
}
.thing {
position:absolute;
top: -3px;
right: -10px;
}