htmlcsscss-spritesmockups

Image sprites for website


Is it better to use image sprites for CSS or use a lot of different image files? Maybe it is better to use a lot of different images rather than one sprite or vice versa?


Solution

  • As typical website contains multiple css, java script and image files,causing browser to request multiple http requests. By using sprite it causes less http requests (good for webserver and client/user), and so page will be load fast (good for client/user)