效果图:
html:
<div class="what-you-need">
<div class="imgbox">
<img src="imgs/intro.png" />
</div>
</div>
css:
.what-you-need{
height:750px;
background-color:#555;
position:relative;
}
.imgbox{
max-width:990px;
position:absolute;
bottom:140px;
left:0;
right:0;
margin:auto;
}
.imgbox img{
width:auto;
height:auto;
max-width:100%;
max-height:100%;
}