1.css版权备案号位于页面底部不悬浮
如图:

footer跟container同级,样式position:relative;height:100px;margin-top:-100px;
container样式只需加height:auto;min-height:100%;
main是container下一级元素,样式padding-bottom:100px;
2.css超出不换行可滑动
父元素{width:100%;overflow-x:scroll;white-space:nowrap;}
子元素{display:inline-block;}

被折叠的 条评论
为什么被折叠?



