如何使此处的图像在媒体查询中占据更多的内容分区?左右空格太多,我无法删除。
http://codepen.io/kiddigit/pen/EKRgQz
.content {
border: 1px solid red;
margin-left: 90px;
margin-right: 90px;
margin-bottom: 0px;
margin-top:0px;
}
最佳答案
也许将图像的 max-width
从 50% 更改为 100% 并删除 margin-left: 90px;
和 margin-right: 90px;
容器。
您还可以将 width:100%
添加到 img
以使图像贴在红色边框上。
关于html - 放大dv中的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36739384/