gpt4 book ai didi

html - 放大dv中的图像

转载 作者:行者123 更新时间:2023-11-28 06:01:11 24 4
gpt4 key购买 nike

如何使此处的图像在媒体查询中占据更多的内容分区?左右空格太多,我无法删除。

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 以使图像贴在红色边框上。

Codepen

关于html - 放大dv中的图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36739384/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com