gpt4 book ai didi

css - Firefox 的行高 css

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

我在 firefox 中的字体图标有问题,请检查图像 enter image description here

CSS:

[class^="icon-"]::before, [class*=" icon-"]::before {
font-family: "untitled-font-1" !important;
font-style: normal !important;
font-variant: normal !important;
font-weight: normal !important;
line-height: 1;
text-transform: none !important;
}

Firefox 中的顶部栏和 Chrome 中的底部栏以及此处的实时链接

http://mohammadsamy.com/Nest/

最佳答案

如果您还提供了相关的 html 代码来尝试和测试它,这对我来说会更容易回答,但是您是否考虑过一种与浏览器/屏幕无关的测量类型,例如 vhem?示例:

[class^="icon-"]::before, [class*=" icon-"]::before {
line-height: 1vh;
}

如果这仍然不起作用,您可以随时使用它们的 margin-bottompadding-bottom 属性。

关于css - Firefox 的行高 css,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32954967/

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