css中设置背景图片平铺整个页面 body{ background: url(img/bgcolor.jpg); background-size: 100% 100%; background-position: center center; overflow: auto; }