首页前端开发CSScss如何实现footer定位

css如何实现footer定位

时间2024-05-21 05:30:03发布访客分类CSS浏览99
导读:css实现footer定位 Document html,body{ width:100%; height:100%; margin:0; padding:0; } *{...
css实现footer定位 Document html,body{ width:100%; height:100%; margin:0; padding:0; } *{ margin:0; padding:0; } .box{ width:100%; min-height:100%; padding-bottom:50px; box-sizing:border-box; background:#e4e4e4; } .content{ background:#fff; border-bottom:1pxsolid#999; } button{ margin:10pxauto; line-height:30px; width:20%; } footer{ height:50px; line-height:50px; text-align:center; margin-top:-50px; background:#fff; } 变长 内容 footer functionbeLong(){ document.getElementById('content').style.height='1000px'; }






本文转载自中文网

声明:本文内容由网友自发贡献,本站不承担相应法律责任。对本内容有异议或投诉,请联系2913721942#qq.com核实处理,我们将尽快回复您,谢谢合作!


若转载请注明出处: css如何实现footer定位
本文地址: https://pptw.com/jishu/664658.html
php 如何切割大文件 自己怎么架设云服务器

游客 回复需填写必要信息