gpt4 book ai didi

html - Firefox 中的列规则属性会产生错误的颜色结果

转载 作者:太空宇宙 更新时间:2023-11-03 23:14:37 25 4
gpt4 key购买 nike

当我在 FF 中使用 column-rule 属性时,它看起来好像列分隔线由 2 种颜色组成。在 Chrome 中它看起来不错。我怎样才能获得像 Chrome 中那样的结果?

例子:

column-rule Property wrong in ff

    -webkit-column-rule: 4px outset #ff00ff; /* Chrome, Safari, Opera */
-moz-column-rule: 4px outset #ff00ff; /* Firefox */
column-rule: 4px outset #ff00ff;

最佳答案

columns-rule-style 属性设置为 solid...

-webkit-column-rule-style: solid;
-moz-column-rule-style: solid;
column-rule-style: solid;

看起来好像 Firefox 使用默认值 ridgegroove

JSFiddle

关于html - Firefox 中的列规则属性会产生错误的颜色结果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31115499/

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