Welcome To Snipplr


Everyone's Recent Snippets Tagged css



1 ... 26 27 28 29 30 ... 42
Ever needed to use to background images in a table or div? It is possible b just using css. Although this is yet to be a standard safari will allow you to apply 2! Css backgrounds, however IE, FIRFOX and retro opera users will only see 1 !
1 372 posted 12 years ago by scopefragger
2 328 posted 12 years ago by simmering
Code for a Rake task that allows compiles all LESS stylesheets (.less) contained within a single directory.
0 310 posted 12 years ago by brettbergeron
0 233 posted 12 years ago by hasantayyar
As with screen style sheets, you use the <link> element to define the print style sheet your Web page should use: <link> The only difference between this link element and the link to your screen style sheet is the attribute: media="print" Most...
0 340 posted 12 years ago by thesmu
requires blank.gif (transparent 1px gif image)
1 495 posted 12 years ago by gryzzly
This is a raw example of the nested lists structure with inherited numeration.
0 333 posted 12 years ago by frujo
1 313 posted 12 years ago by iTony
2 278 posted 12 years ago by iTony
A wrapper may be made to enclose the content of a page, and then you can write descendant CSS rules that mention that wrapper's ID or class name in the selector. But what if only IE thought that wrapper existed? Then those rules would only work for I...
4 356 posted 12 years ago by Meander365
Think this is a good one to remember. Let's say you have a set of list items and all of them have a border of 1px. Inside you have an image. When you hover over each list item you want the border to change thickness to 2px. The trick is to...
1 352 posted 12 years ago by Meander365
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
1 316 posted 12 years ago by SunilTee
Enables you customise the colour of your <li> bullet points.
0 339 posted 12 years ago by nostradamuszen
0 281 posted 12 years ago by rickfu
0 195 posted 12 years ago by pats
0 216 posted 12 years ago by pats
0 223 posted 12 years ago by pats
Save as the target of your link. Change http://assets.harkeydesign.net/css/diagnose.css to your own hosted version if you want guaranteed permanence.
1 283 posted 12 years ago by zachharkey
This finds individual CSS attributes, i.e. "foo : bar;" or "bar : 2px solid foo;"
4 649 posted 12 years ago by mocha0range
This finds CSS style names, i.e. "#foo" or "#foo, .bar" Note: You'll need to chomp the trailing "\s{" off the end of the matched string. I matched it just to make sure that it didn't get anything else.
5 368 posted 12 years ago by mocha0range
This finds the entire style definition - from #foo to the last brace. i.e. ".foo, #bar { foo: bar; foo: bar; bar: foo; }"
4 350 posted 12 years ago by mocha0range
3 246 posted 12 years ago by jfleblanc
1 268 posted 12 years ago by jfleblanc
HTML/CSS Template - HTML 4 Transitional
0 436 posted 12 years ago by thehamilton
1 342 posted 12 years ago by benedikt
0 228 posted 12 years ago by benedikt
0 306 posted 12 years ago by terrencewood
1 ... 26 27 28 29 30 ... 42