212k views
2 votes
CSS Sprites are used to:

1) reduce the number of HTTP requests required to view a webpage
2) reduce the size of the CSS file
3) reduce the number of selectors required in a CSS file
4) allow the use of variables in a CSS file, such as for color values
5) transfer data between requests to maintain state in a web application

User RRN
by
8.0k points

1 Answer

2 votes

Final answer:

CSS Sprites are used to reduce the number of HTTP requests required to view a webpage.

Step-by-step explanation:

CSS Sprites are used to reduce the number of HTTP requests required to view a webpage by combining multiple images into a single image. This reduces the loading time of the webpage. It does not reduce the size of the CSS file or the number of selectors required in a CSS file.

User Ricko M
by
9.0k points