V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
gzf6
V2EX  ›  程序员

compass 生成精灵图出错,有大神知道怎么回事吗?

  •  
  •   gzf6 · 2017-12-24 11:59:34 +08:00 · 1649 次点击
    这是一个创建于 2312 天前的主题,其中的信息可能已经有所发展或是发生改变。

    webstorm 中利用 compass 生成精灵图

    @import "compass/utilities/sprites"; @import "share/*.png"; @include all-share-sprites;

    其中,第二步 @import "share/.png";报错, 错误信息“ error sass/stylesheet.scss (Line 30 of share/.png: Invalid CSS after " $share-little ": expected ":", was "plane-position:...")”

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2640 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.