It is basically an image which is a collection of different images put together to form a single image. The use of image sprites is done for two main reasons:
- For faster page loading use only a single image.
- It reduces the bandwidth used to load multiple images. This way less data is consumed.
Image sprites are generally used for designing a graphic social media bar or a navigation bar to make it more attractive and efficient at the same time. It is just a method in HTML and CSS to implement a more efficient way of putting images and designing web pages. Used Image:
Example: This example shows the use of image sprites in CSS.
Share your thoughts in the comments
Please Login to comment...