Posts Tagged ‘css

One of the things I like to use with CSS is percentages. Often, this goes a bit over the top; right now, I have a two column layout that looks something like this: .leftcolumn { float: left; width: 22.340425%; margin-right: 1.06382%; overflow: hidden; } .rightcolumn { float: left; width: 76.59574%; margin-right: 0; } Which is […]

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

December 2018
M T W T F S S
« Nov    
 12
3456789
10111213141516
17181920212223
24252627282930
31