gpt4 book ai didi

css - 为什么用户代理样式表会覆盖我的样式?

转载 作者:数据小太阳 更新时间:2023-10-29 09:10:45 25 4
gpt4 key购买 nike

<分区>

我想要 11 的字体大小,但 Chrome 和 Firefox 给了我 16。当我检查 Chrome 中的元素时,我看到并查看了我看到的计算属性:

font-size: 16px;
table - medium user agent stylesheet
Style Attribute - 11px
table - medium user agent stylesheet
.v11gray - 11px style.css

在 Firefox 的计算样式下,我得到:

font-size: 16px
TABLE[0].style → 11px element
.v11gray → 11px style.css:19

最后三行被删除了。为什么我的 css 规则被覆盖了?我可以采取哪些步骤来找出答案?

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