Posts Tagged ‘css sprites

06Sep

CSS Sprites

Posted by Elf Sternberg as javascript, web development

It seems like such a stupid thing, but hey, now I know how to use CSS sprites. Basically, it’s the same idea as a viewport slider: treat your rectangular space as a viewport onto a background image. By using the background-position attribute and the .css() control (in jQuery; there are others in other libraries), you […]


Subscribe to Feed

Categories

Calendar

June 2019
M T W T F S S
« May    
 12
3456789
10111213141516
17181920212223
24252627282930