Sprite (CSS)

From Wiki @ Karl Jones dot com
Jump to: navigation, search

In web design, a CSS sprite displays a specific rectangular area within an image complete image.

The complete image is typically a mosaic of icons, logos, and similar visual elements. Each of these visual elements is displayed by itself using HTML elements Cascading Style Sheets.

Description

By replacing several related images with one sprite sheet and selecting the shown image with CSS properties, the number of data requests and size of files is reduced.

See also