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

compass 使用sprite技术 针对图片需要拼合才成生成 例如按钮出现问题 #1

Open
w19871029 opened this issue Feb 3, 2015 · 0 comments

Comments

@w19871029
Copy link

例如 项目中需要一个按钮 只是里面文字 多少不一

通常我们的做法 是

我们会把图片切成两部分 a是左部分 span 是右部分 我们希望图片的右部分 是

background-position:right 0;

但是$map-图片名称-position:right; 是不支持 字符串的 不知道你是怎么处理的 可以交流一下吗

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

1 participant