Glue is a simple command line tool to generate CSS sprites
11–20 of 34 posts
Re: Glue is a simple command line tool to generate CSS sprites
#12Re: Glue is a simple command line tool to generate CSS sprites
#13http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-...
this stack overflow answer brings up 2 possible drawbacks of a data-uri based approach: http://stackoverflow.com/a/3525961/897583 but it seems like if you are worried about your other css rules being blocked by your data-uri background-images, either put them in a css file that loads after your important rules, or just put them at the bottom of the css file. and it seems like with gzip the increase in size is negligible.
Re: Glue is a simple command line tool to generate CSS sprites
#14I don't get the sprite thing. How is it better for optimization to load every single image of the website right away, and to reload the same picture when the image is modified?
Re: Glue is a simple command line tool to generate CSS sprites
#15This makes no sense to me. It assumes that I'll attach the icon to it's own HTML element because it sets the width and height explicitly. Adding icons to your links won't work this way. Generating useful sprites is much harder than this guy thinks IMHO.
Re: Glue is a simple command line tool to generate CSS sprites
#16This makes no sense to me. It assumes that I'll attach the icon to it's own HTML element because it sets the width and height explicitly. Adding icons to your links won't work this way. Generating useful sprites is much harder than this guy thinks IMHO.
Sprites are used for a lot more than just adding icons to links.
Re: Glue is a simple command line tool to generate CSS sprites
#17so I am actually wondering why you would even still use a spriting based approach. It seems as if a data-uri based approach would, for all uses I can think of, be more flexible and better, especially if you are using something like compass ( http://compass-style.org/reference/compass/helpers/inline-da... ). for more info: http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-... this stack overflow answer bring…
Re: Glue is a simple command line tool to generate CSS sprites
#18so I am actually wondering why you would even still use a spriting based approach. It seems as if a data-uri based approach would, for all uses I can think of, be more flexible and better, especially if you are using something like compass ( http://compass-style.org/reference/compass/helpers/inline-da... ). for more info: http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-... this stack overflow answer bring…
Re: Glue is a simple command line tool to generate CSS sprites
#19Re: Glue is a simple command line tool to generate CSS sprites
#20so I am actually wondering why you would even still use a spriting based approach. It seems as if a data-uri based approach would, for all uses I can think of, be more flexible and better, especially if you are using something like compass ( http://compass-style.org/reference/compass/helpers/inline-da... ). for more info: http://www.nczonline.net/blog/2010/07/06/data-uris-make-css-... this stack overflow answer bring…