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

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

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

    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   ·   实用小工具   ·   3343 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 69ms · UTC 05:05 · PVG 13:05 · LAX 22:05 · JFK 01:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.