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

建议引入Responsive CSS Sprites技术 #49

Open
ccidcce32167 opened this issue May 20, 2016 · 0 comments
Open

建议引入Responsive CSS Sprites技术 #49

ccidcce32167 opened this issue May 20, 2016 · 0 comments

Comments

@ccidcce32167
Copy link

http://responsive-css.spritegen.com/

其实就是把位置信息换成了百分比,并且添加background-size作为参考尺寸。这样在制作不同大小的按钮时,只需要按照最大的尺寸准备一张图,就可以兼容其他小尺寸的按钮,提高图片的复用率

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

No branches or pull requests

2 participants