背景图片宽度相同 高度自适应 .ahome { position: absolute; background-size: 100% 100%; background-repeat:no-repeat; left: 0; width: 100%; }