-
Notifications
You must be signed in to change notification settings - Fork 55
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
Sprite for :hover states? #65
Comments
You can use a template to setup your own output. |
Mustache is "logic-less", this can't be done only using basic template tags, it needs an Any ideas? |
Hopefully you can wait a few more days. In css-sprite 1.0 handlebars is used to generate the style. This will give much more flexibility. So creating a hover style can be achieved more easily. I just need a few more days to finish up all the changes. |
Thank you, I'm tuned. |
i need this。 gulp.spritesmith do like this:
|
css-sprite 1.0.0 is out ... it's called sprity. it now uses handlebars as the template language. So more logic is possible whithin the templates. If this is not enough, have a look at How to write a sprity style processor. Let me know if you need more information ... |
Thanks, I will check it.
|
Did you ever succeed in doing this? |
Using sprite smith, yes. |
Is there an option or something to generate :hover states for the sprites?
for example, having
button.png
andbutton-hover.png
generates css:Compass sprite generator has this feature :(
The text was updated successfully, but these errors were encountered: