Difference between revisions of "Sprite (CSS)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "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 simil...")
 
(See also)
Line 9: Line 9:
 
== See also ==
 
== See also ==
  
 +
* [[Cascading Style Sheets]]
 
* [[Sprite (computer graphics)]]
 
* [[Sprite (computer graphics)]]
  

Revision as of 07: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