css少了无法识别的语句
我正在尝试通过 css 添加渐变。
我有这条线用于旧版本的 ie 中的渐变。
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e4da9d, endColorstr=#c1b676);
然而,less css 的 javascript 解释器给了我该行的语法错误。有没有办法跳过解析该行并按原样输出。
I'm trying to add gradients through css.
I have this line for gradients in older versions of ie.
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e4da9d, endColorstr=#c1b676);
However the javascript interpreter for less css is giving me a syntax error for that line. Is there a way to skip that line from parsing and just output it the way it is.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 LESS 中使用
有关“转义”的更多信息 - 字符串函数 - CSS 转义
Use
More about 'escaping' in LESS - String Functions - CSS Escaping