Twitter Bootstrap 3 粘性页脚 [英] Twitter Bootstrap 3 Sticky Footer

查看:31
本文介绍了Twitter Bootstrap 3 粘性页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 twitter bootstrap 框架已经有一段时间了,他们最近更新到了第 3 版!

我无法让粘性页脚粘在底部,我使用了 twitter bootstrap 网站提供的入门模板,但仍然没有运气,有什么想法吗?

解决方案

只需将类 navbar-fixed-bottom 添加到页脚即可.

I have been using the twitter bootstrap framework for quite a while now and they recently updated to version 3!

I'm having trouble getting the sticky footer to stick to the bottom, I have used the starter template supplied by the twitter bootstrap website, but still no luck, any ideas?

解决方案

just add the class navbar-fixed-bottom to your footer.

<div class="footer navbar-fixed-bottom">

这篇关于Twitter Bootstrap 3 粘性页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆