We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 Window 中 路径会被替换成 ..\img\main.png 并不是 ../img/main.png. 这样会导致浏览器 URL 识别错误.
..\img\main.png
../img/main.png
The text was updated successfully, but these errors were encountered:
+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;}
Sorry, something went wrong.
5045650
路径问题已经修正, 由于 grunt-css-sprite 自身会带有自动加入时间戳功能,内部采用路径替换,当原路径中带有 ? 不会进入匹配;建议不要在图标路径中带有 ?
PS. 为这次更新测试不完善带来的使用不愉快,表示歉意 :D
No branches or pull requests
在 Window 中 路径会被替换成
..\img\main.png
并不是../img/main.png
.这样会导致浏览器 URL 识别错误.
The text was updated successfully, but these errors were encountered: