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

August 2019
M T W T F S S
« Jul    
 1234
567891011
12131415161718
19202122232425
262728293031