Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



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