有没有人知道,如果有可能skretch的图像,以适应100%的div,但保持那么大,如果你调整你的浏览器?我需要在一个标签中,而不是作为背景。
html
<div id="first">
   <img src="" alt=""/>
<div>css
#first img{
 max-width:100%;
}发布于 2015-05-04 06:57:12
#first{
 width:100%;
}
#first img{
 width:inherit;
}https://stackoverflow.com/questions/30020291
复制相似问题