1.

What is the use of CSS3 Sprites?

Answer»

CSS3 Image SPRITES are a collection of images put in a single image to reduce the number of SERVER requests, thereby saving bandwidth, and AVOIDING multiple server requests for each image.

#homeDiv {
   width: 32px;
   HEIGHT: 32px;
   background: url(img_cssprites.gif) 0 0;
}

In the above EXAMPLE, we have combined 3 images into a single GIF, cssprites and we can use CSS to display a specific part as required.



Discussion

No Comment Found