Thursday 26 November 2015

ASP.NET Tips #50 - Consolidate your images with sprites

If you have a standard collection of images with the same height and width (like social icons), use a sprite generator to consolidate the images into one file, and then use CSS to position the separate images on your website. Instead of multiple browser requests, you then make one request for the consolidated image, and the CSS positions the images for you.

No comments :

Post a Comment