Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



1 644 posted 17 years ago by danideu
1 613 posted 17 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 2938 posted 17 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2 859 posted 17 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 676 posted 17 years ago by natalie
some foundation styles used in every sheet (work in progress)
1 568 posted 17 years ago by marcoba
3 791 posted 17 years ago by tonluong
For creating forms without using tables, just CSS.
2 1031 posted 17 years ago by andyhartleeds
0 707 posted 17 years ago by wintondeshong
0 795 posted 17 years ago by wintondeshong
displays sourcecode in a nice notebox on blog pages. uses with a class.
0 789 posted 17 years ago by zingo
based loosely on Eric Meyers sheet but then tweaked to my own.
2 677 posted 17 years ago by smynett
10 900 posted 17 years ago by salsajid
Style form fields
1 880 posted 17 years ago by valcartei
this layout has a fixed width sidebar and a fluid main body.
1 633 posted 17 years ago by penguin999
シンプルなドロップダウンメニュー。入れ子方式。 by http://www.pmob.co.uk/temp/dropdown_horizontal2.htm
1 980 posted 17 years ago by fjm
via http://icant.co.uk/csstablegallery/
0 756 posted 17 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 1103 posted 17 years ago by daeliur
hoverで透明度
0 641 posted 17 years ago by fjm
0 786 posted 17 years ago by jccovey
CSS image replacement with no extra span needed.
3 708 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 786 posted 17 years ago by 1man
Useful for setting transparent dropdowns, etc.
6 930 posted 17 years ago by pmusaraj
This code centers text vertical.
2 713 posted 17 years ago by narmolanya
This solution is cool for screen readers, because they also read the text content.
2 716 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 939 posted 17 years ago by smilylion
text-index: -9999px; などして置換している場合、この数字の通りにアウトライン (クリックした際の点線) がヨコに伸びてしまう。 これを解決する方法。
1 871 posted 17 years ago by masaya