• 请不要在回答技术问题时复制粘贴 AI 生成的内容
gzf6
V2EX  ›  程序员

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

  •  
  •   gzf6 · Dec 24, 2017 · 1997 views
    This topic created in 3074 days ago, the information mentioned may be changed or developed.

    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:...")”

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3206 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 66ms · UTC 14:06 · PVG 22:06 · LAX 07:06 · JFK 10:06
    ♥ Do have faith in what you're doing.