css - 尝试将 Webkit 渐变转换为 moz : wrong format

标签 css webkit

<分区>

我正在尝试在此 page 中导入下面的渐变(“从 CSS 导入”):

background:-webkit-gradient( linear, left top, left bottom, color-stop(0.25, #ACACAC, color-stop(4, #dfdfdf));

但是我遇到了这个错误:

Couldn't parse gradient CSS. Please check the format and try again.

有什么想法吗?

哈维尔

最佳答案

您在第一个 color-stop 上缺少右括号

关于css - 尝试将 Webkit 渐变转换为 moz : wrong format,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9083211/

上一篇:CSS 重置覆盖 Firefox 中的指定元素

下一篇:jquery - 如何以 jquery 风格做到这一点

相关文章:

css - 导航选项卡事件时刻图像不会改变

CSS 样式——如何显示一个人的姓名首字母或一个人的图像

html - 我怎样才能删除这个 anchor : hover tag problem

css - OTF Web 字体在 Windows 上的 Webkit/Chrome 中呈现错误

css - webkit-梯度固定度数?

c++ - QtWebkit 作为桌面应用程序 GUI

html - Semantic-Ui Dropdown调整宽度和对齐中心

html - 如何仅在内容可编辑的 div 达到其最大高度时显示滚动条?

javascript - 是否可以在 webkit 浏览器的 Android 网页中运行 Javascript 功能?

javascript - 有什么方法可以使用 HTML5/CSS/Javascript 对位图进行颜色转换吗?