GithubHelp home page GithubHelp logo

Comments (2)

xuexb avatar xuexb commented on June 24, 2024

+1, 且如果图片的路径后面有 ? 那么这个图片将不会被匹配, 如:

.mod-form .item-4:hover .icons{background-image:url('../../images/home/index/job-sprite/1-4.png?x');}
.mod-form .item-5:hover .icons{background-image:url('../../images/home/index/job-sprite/1-5.png?x');}
.mod-form .item-6:hover .icons{background-image:url('../../images/home/index/job-sprite/1-6.png');}

=>

.mod-form .item-4:hover .icons{background-image:url('../../images/home/index/job-sprite/1-4.png?x');}
.mod-form .item-5:hover .icons{background-image:url('../../images/home/index/job-sprite/1-5.png?x');}
.mod-form .item-6:hover .icons{background-image:url('..\..\images\home\index\index.png?20140627150655');background-position:-72px -72px;}

from grunt-css-sprite.

laoshu133 avatar laoshu133 commented on June 24, 2024

5045650

路径问题已经修正,
由于 grunt-css-sprite 自身会带有自动加入时间戳功能,内部采用路径替换,当原路径中带有 ? 不会进入匹配;建议不要在图标路径中带有 ?

PS. 为这次更新测试不完善带来的使用不愉快,表示歉意 :D

from grunt-css-sprite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.