【问题标题】:New to SASS, SCSS with --webkit-scrollbar throws syntax error. Escape sequence?SASS 的新手,带有 --webkit-scrollbar 的 SCSS 会引发语法错误。逃生顺序?
【发布时间】:2013-03-08 00:34:40
【问题描述】:

希望了解其中一种在 SCSS 中的样子

div.navwrapper {
    position:relative;
    --webkit-scrollbar: 6px;
    background-color: transparent;      
}

谢谢!

【问题讨论】:

    标签: sass


    【解决方案1】:

    只需省略前缀上的-

    div.navwrapper {
        -webkit-scrollbar: 6px;      
    }
    

    会像魅力一样工作;)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-05-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多