ABOUT THE TECHNIQUE
CSS sprites are not always necessary, but in some situation they can bring significant advantages and improvements – particularly if you want to reduce your server load. The term “sprite” has its origins in computer graphics, Because the complexity of video games has continually increased, there was a need for smart techniques that could deal with detailed graphic objects while keeping game-play flowing.
When the page is loaded, it would not load single images one by one (nor hover-state images per request), but would rather load the whole master image at once. CSS sprites reduce HTTP requests and the loading time of pages. This is the main reason why CSS sprites are often used on websites with heavy traffic
No comments:
Post a Comment