Sticky Footer
来源:互联网 发布:支付软件注册条件 编辑:程序博客网 时间:2024/05/16 03:11
我们常常需要把footer放置在页面的最低端,那么如果页面的内容高度不够,footer并不会自动置于底端。我们需要进行自定义CSS:
html { min-height: 100%; /* 非常重要 */ position: relative;}body { /* Margin bottom by footer height */ margin-bottom: 80px;}.footer { position: absolute; bottom: 0; width: 100%; height: 80px;}
简单,但却是最完美的解决方案。
阅读全文
0 0
- Sticky Footer
- sticky footer
- css sticky footer
- CSS sticky footer
- sticky footer 布局
- sticky-footer布局
- CSS Sticky Footer 布局
- CSS Sticky Footer
- CSS Sticky Footer
- CSS Sticky Footer布局
- sticky footer布局
- css sticky footer布局
- Sticky footer布局
- css sticky footer
- sticky footer 布局
- sticky footer布局
- sticky footer设计
- css sticky footer布局
- 为tomcat制作sha-256自签名证书
- 块级元素浮动之后的布局情况
- Android 自定义View实战系列 :时间轴
- 文章标题
- C/C++:输入一个数,输出这个数的绝对值,绝对值的正弦值,绝对值的开平方值。
- Sticky Footer
- PHP 7.X 安装Zabbix 3.X问题解决
- Android Studio:错误Execution failed for task ':app:compileDebugNdk'
- Python
- GUI的布局-第十一天
- JavaWeb学习总结
- 配置百度地图(三方)debug模式时正常显示地图信息
- 自定义View之自绘控件-绘制基础
- nginx 图片挂载