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

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

  •  
  •   gzf6 · Dec 24, 2017 · 1983 views
    This topic created in 3066 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   ·   900 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 22:11 · PVG 06:11 · LAX 15:11 · JFK 18:11
    ♥ Do have faith in what you're doing.