Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 513 posted 16 years ago by danideu
1 491 posted 16 years ago by penguin999
The selector portion of the CSS rule targets which XHTML tags/classes this rule will be applied to. At first glance, it looks like all img tags as well as all tags with a class of "png". You’ll notice the * html in front of both of these. Wait, the...
15 2348 posted 16 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2 714 posted 16 years ago by jitendramr
Sitepoint have this useless but cool feature if you hold down the middle click to autoscroll the page - they have replaced the image that indicates scrolling
1 548 posted 16 years ago by natalie
some foundation styles used in every sheet (work in progress)
1 454 posted 16 years ago by marcoba
3 686 posted 16 years ago by tonluong
For creating forms without using tables, just CSS.
2 887 posted 16 years ago by andyhartleeds
0 581 posted 16 years ago by wintondeshong
0 629 posted 16 years ago by wintondeshong
displays sourcecode in a nice notebox on blog pages. uses with a class.
0 667 posted 16 years ago by zingo
based loosely on Eric Meyers sheet but then tweaked to my own.
2 554 posted 16 years ago by smynett
10 757 posted 16 years ago by salsajid
Style form fields
1 734 posted 16 years ago by valcartei
this layout has a fixed width sidebar and a fluid main body.
1 519 posted 16 years ago by penguin999
シンプルなドロップダウンメニュー。入れ子方式。 by http://www.pmob.co.uk/temp/dropdown_horizontal2.htm
1 858 posted 16 years ago by fjm
via http://icant.co.uk/csstablegallery/
0 623 posted 16 years ago by fjm
STICKER - A valid, easy to use CSS sticky footer by Ryan Fait This is the basic CSS you need along with the one extra empty div and the wrapper required to achieve the effect. I suggest that you leave the * { margin: 0; } code in while testing a...
8 962 posted 16 years ago by daeliur
hoverで透明度
0 513 posted 16 years ago by fjm
0 656 posted 16 years ago by jccovey
CSS image replacement with no extra span needed.
3 584 posted 17 years ago by 1man
Say you want a containing block with 2 floating elements to expand around the floating element, usually this wouldn't happen since the container has no height because the floating elements are out of the usual flow. The method below fixes this pro...
3 625 posted 17 years ago by 1man
Useful for setting transparent dropdowns, etc.
6 784 posted 17 years ago by pmusaraj
This code centers text vertical.
2 583 posted 17 years ago by narmolanya
This solution is cool for screen readers, because they also read the text content.
2 592 posted 17 years ago by narmolanya
Wer mal nur den IE7 mit css ansprechen will oder muss zb. weil der IE7 einen bestimmten bug hat, kann dies folgendermaßen tun. *:first-child+html Wenn man also zb. die schriftfarbe der css class “meineklasse” nur für den IE7 verändern wi...
0 786 posted 17 years ago by smilylion
text-index: -9999px; などして置換している場合、この数字の通りにアウトライン (クリックした際の点線) がヨコに伸びてしまう。 これを解決する方法。
1 778 posted 17 years ago by masaya