css实现背景图片等比例缩放并填充 /* 通过以下两个参数实现背景图片等比例缩放并填充*/ background: url(../images/banner.jpg) no-repeat; background-size: 100% 100%;