CSS Sprites

This has nothing to do with carbonated drinks, goblin-like creatures or the Texas Instruments TMS9918.

A CSS sprite is an single image file that contains two or more actual images (e.g. the top half is a button image, the bottom half is an on-click button-down image) which are shown individually by using CSS. This cuts down on http requests and therefore cuts down on loading times.

Soh Tanaka has a good example which uses CSS sprites to make a greyscale-on-mouse-over image.

Advertisements

About Mr Chimp

I make music, draw pictures, browse the internet, programme, and make sweet, sweet cups of tea until the early hours.
This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s