Skip to content
New issue

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

当使用background-size的时候会有BUG #20

Closed
wawow opened this issue Sep 30, 2014 · 1 comment
Closed

当使用background-size的时候会有BUG #20

wawow opened this issue Sep 30, 2014 · 1 comment

Comments

@wawow
Copy link

wawow commented Sep 30, 2014

页面用引用N个2倍高清图做背景,直接用background-size缩小一倍,运行命令后会把大图生成出来,但是之前的background-size值是没变化的,希望可以考虑解决这个问题

@laoshu133
Copy link
Owner

感谢反馈,目前 grunt-css-sprite 是以1x图片为基准处理,未考虑以2x图片为基准的情况,考虑在后续版本中完善此需求;
建议先使用 1x 图标实现,2x图片按规则命名,工具会自动处理兼容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants