News for hackers. Stuff that matters.
Re:Sprite Cow – Generate CSS for sprite sheets by sergiotapia on Monday December 02, 2013 @09:01AM (#6833643)
This is awesome. I can see myself having a sprites.scss file specifically for these and just copy pasting the rules.
Re:Sprite Cow – Generate CSS for sprite sheets by nathos on Monday December 02, 2013 @09:49AM (#6833919)
If you really want to blow your mind, you should look at the automated spriting in Compass: http://compass-style.org/help/tutorials/spriting/
Re:Sprite Cow – Generate CSS for sprite sheets by krallin on Monday December 02, 2013 @10:29AM (#6834200)
Re:Sprite Cow – Generate CSS for sprite sheets by bazzargh on Monday December 02, 2013 @02:18PM (#6835803)
There's also http://csssprites.org/ (SmartSprites). The web based tools aren't really in the same category as Compass, Glue and SmartSprites - they can't be part of an automated build, so someone is going to have a repetitive manual task to do. Ok for a one-off, but annoying in the long term.
Re:Sprite Cow – Generate CSS for sprite sheets by riffraff on Monday December 02, 2013 @11:52AM (#6834766)
+1 for compass, but one problem with it is that (AFAIK) you can only do png sprites, so you can't do them for animated gif (for spinners and the likes).
Re:Sprite Cow – Generate CSS for sprite sheets by dictum on Monday December 02, 2013 @11:50AM (#6834745)
Is there a solution for automated sprites with Sass when you can't use Compass?