Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



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