gpt4 book ai didi

firefox - 元素在 Firefox 中不考虑 100% 的高度/宽度

转载 作者:行者123 更新时间:2023-12-04 20:11:10 24 4
gpt4 key购买 nike

<svg></svg>
http://jsfiddle.net/c6SW6/

它在 Chrome 中正常工作,但无论我尝试什么,我似乎都无法让 svg 元素完全扩展。

有什么想法吗?

最佳答案

您需要给html高度也为 100%:

body, html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}

jsfiddle

关于firefox - <svg/> 元素在 Firefox 中不考虑 100% 的高度/宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17114029/

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