Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



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