我有一个 div:
<div id="hide-me">
<p>some content</p>
</div>
我如何使用 CSS 将其定位在屏幕底部之外,我稍后计划将其从底部设置为动画)。
最佳答案
#hide-me {
position: absolute;
bottom: 0;
margin-top: -30px;
}
关于html - 隐藏屏幕底部的div?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29375215/