„Do you really understand them? The name might be a little misleading, because sprites arenâ?t little images like you might be picturing, a sprite is actually one big image. Have you ever seen the CSS technique where the â?oeonâ? and â?oeoffâ? states of a button are contained within the same image and are activated by shifting the background-position? Think of CSS Sprites as an extension of that technique. The difference is that instead of just two or three images being combined into one, you can combine an unlimited number of images into one.“

CSS Sprites: What They Are, Why They're Cool, and How To Use Them

Von admin

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert