Difference between revisions of "Sprite (CSS)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(See also)
(See also)
 
Line 10: Line 10:
  
 
* [[Cascading Style Sheets]]
 
* [[Cascading Style Sheets]]
 +
* [[Slicing (interface design)]]
 
* [[Sprite (computer graphics)]]
 
* [[Sprite (computer graphics)]]
  

Latest revision as of 06:26, 15 May 2016

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