After looking over Compass a bit, it looked like a good time to revisit some of my monolithic CSS. I wanted to create a mixin for background positioning:
=sprite(!x=0px, !y=0px) :background url(/some/place/my/png/lives.png) no-repeat :background-position !x !y And then: .accept-button +sprite(-320px, -440px) Without the arguments everything is dandy, but when I add the arguments, the sprite mixin is not found. Bonus question: As all my offsets are negative and specified in pixels, it would be great to just write: +sprite(320, 440) Is that level of interpolation possible? Any help appreciated! Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
