【问题标题】:Windows and MacOS different displays linear gradientWindows 和 MacOS 不同显示线性渐变
【发布时间】:2018-12-11 19:38:16
【问题描述】:

这是一个带有背景渐变的代码

   background: rgba(0,0,0,0) linear-gradient(rgb(245, 245, 245),rgba(0,0,0,0)) 
   repeat scroll 0 0;

Windows 显示正常(chrome,即 firefox)

MacOS 和 iphone 显示错误(safari、chrome)

【问题讨论】:

标签: html css windows macos


【解决方案1】:

使用十六进制颜色代替 rgb/rgba 将解决此问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-09
    • 2023-01-14
    • 2015-11-10
    • 2016-06-12
    • 1970-01-01
    • 2012-02-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多