gpt4 book ai didi

css - 站点缩放问题 : not all of the components scaling as they should

转载 作者:行者123 更新时间:2023-11-27 22:32:30 25 4
gpt4 key购买 nike

我最近开发了一个网站,我注意到当我在其他网站上使用滚动缩放(ctrl+鼠标滚轮)时效果很好,但在我的网站上它有一个奇怪的行为,并不是所有的组件都按应有的比例缩放。

在 css 文件上,我只使用了百分比,以便将分辨率/大小问题保持在最低限度...但我不知道这是否与当前问题有任何关系。

最佳答案

类(例如图像)的 css 宽度为 100%。这是你的问题。使用宽度:自动;也会调整它们的大小

关于css - 站点缩放问题 : not all of the components scaling as they should,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3431663/

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