![](/img/trans.png)
[英]How can I make my modal background go to the bottom of the page rather than the bottom of the viewport?
[英]How can I place a link at the bottom of the viewport on first page load?
我想实现一个类似于看到的效果在这里的Dropbox的着陆页上。 请注意,浏览器视口底部有一个链接(“了解更多”)。 首次加载时,它始终位于页面底部。 但是,它并没有固定在窗口的底部,因为您可以滚动通过它。
任何想法如何实现这一目标? CSS或jquery解决方案很好。
这是div
的链接,该div
具有以下CSS( div
):
position: absolute;
bottom: 50px;
left: 0;
width: 100%;
text-align: center;
cursor: pointer;
重要部分有position:absolute
和bottom:50px
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.