Home >Web Front-end >CSS Tutorial >The role of CSS image sprites
When a group of images are placed within an image, it is called an image sprite. This is done to reduce server requests and load the image immediately.
Suppose you need to use 4 images on a web page. In this case, add all images into a single image and upload it. By doing this you save server requests.
The above is the detailed content of The role of CSS image sprites. For more information, please follow other related articles on the PHP Chinese website!