.ones { background: url(../../images/home/27.jpg) no-repeat fixed; /*background: url("../../images/home/27.jpg");*/ } .twos { background: url(../../images/home/img/2.jpg)no-repeat fixed; } .threes { background: url(../../images/home/img/3.jpg)no-repeat fixed; } .fours { background: url(../../images/home/img/4.jpg)no-repeat fixed; } .ones, .twos, .threes, .fours { background-size: cover; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; -ms-background-size: cover; min-height: 795px; } .container{ margin: 0; width: 100%; /*height: 100%;*/ position: relative; } .esed{ width: 500px; /*position: absolute; !* 这里我们将box元素设置为绝对定位 *!*/ /*top: -200px;*/ /*left: 500px;*/ }