【发布时间】:2015-12-22 14:40:48
【问题描述】:
这是我的页脚代码。
<div class="row">
<div class="col-md-12">
<div> the part that always showing at the bottom </div>
</div>
<div class="col-md-12">
<div> show only if the user reaching the bottom of the page </div>
</div>
</div>
我的问题是我希望页脚贴在页面底部,直到用户到达底部,然后显示其他内容。
【问题讨论】:
-
纯css是做不到的。您必须使用 javascript 或 jquery。
-
您是在使用 jquery 还是更喜欢纯 javascript 解决方案?
-
我现在使用 javascript。我在想怎么做。你能给我一个链接或建议吗?
-
我现在使用 javascript。我在想怎么做。你能给我一个链接或建议吗?
-
为什么在一行中有两个
col-md-12s?
标签: javascript html css twitter-bootstrap