Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged css



Learn how to create CSS curly quotes using only CSS and without images, extra divs or classes
6 364 posted 13 years ago by neal_grosskopf
secure and stable
1 196 posted 13 years ago by leferreyra
You’ll notice the global classes at the bottom, which cover basic styling, and will remove styling that we intially set. For example, the .nobullet and .noindent work great on an unordered or ordered list. You can add your own classes there that yo...
1 259 posted 13 years ago by ianmonge
1 297 posted 13 years ago by ianmonge
This method uses the "min-height" property to give "hasLayout" in IE 7, "height" property for IE 6 and the pseudo-element ":after" and "content" property for Gecko based and IE 8 Beta.
2 354 posted 13 years ago by kcmr
You know how your bookmarks toolbar will show a little arrow when there are too many to fit? This code snippet will make the toolbar twice the size in height, and make the bookmarks wrap to the next line. In mac, you need to edit the file /Users/-...
1 299 posted 13 years ago by Jacolyte
Creates a drop shadow for a div. In IE I can't get `filter:alpha(opacity=__)` to work right, but it degrades gracefully without it so I left it out.
5 390 posted 13 years ago by wizard04
For use with the Firefox Stylish add-on. I put this up on userstyles.org as well - http://userstyles.org/styles/9213. When you edit a snippet, especially with the comment box, the font is large and fancy. This style changes them to a normal, *rea...
0 311 posted 13 years ago by wizard04
0 288 posted 13 years ago by goo
4 375 posted 13 years ago by alexvf
1 273 posted 13 years ago by alexvf
My personal Reset CSS: a mixt of YUI, Eric Meyer and others
3 302 posted 13 years ago by Eloi
Internet Explorer (IE) 6 Bug
3 400 posted 13 years ago by bassdas
This will reset your style properties to the default values, specific to an element and its children. Here are the all the properties that need to be set to default that also don't break modern browsers.... or less then modern, like IE 4/5.
0 5064 posted 13 years ago by marcusrosentrater
CSS multi columns layout
3 448 posted 13 years ago by Ashung
Content may disappear on window resize in IE6/Maxthon, when using expressions to set min-width/max-width. To fix it - just remove 'position:relative' in #container.
0 246 posted 13 years ago by DesTincT
Browser Support: IE5.5, IE6, IE7, Firefox 1-3, Mozilla, Opera 8-9.5, Safari(Win,Mac), Knoqueror(Linux). Use: Any Tag.
5 648 posted 13 years ago by Ashung
This rule lets you define CSS rules that are visible to IE only.
0 363 posted 13 years ago by Uzbekjon
“min-height” attribute works well in Firefox but IE ignores it. IE’s height act as FF’s min-height. Note: in IE 7 problem was fixed.
0 332 posted 13 years ago by Uzbekjon
It’s an Internet Explorer-exclusive bug wherein an element that is floated – and given a margin in the same direction as the float – ends up with twice the specified margin size. The fix is extremely simple. All you have to do is apply a displa...
2 377 posted 13 years ago by Uzbekjon
Change #floatbox and p selectors to anything you want...
0 387 posted 13 years ago by Uzbekjon
This handy trick works in IE5.5/Win and newer. It assumes that the default printer orientation is portrait.
1 430 posted 13 years ago by localhorst
CSS Diagnostics allows web designers and developers to highlight invalid HTML using CSS selectors. Say goodbye to the font tag by highlighting it in a large obnoxious border. It also has the ability to highlight 404 pages, old CSS classes and old Jav...
7 709 posted 13 years ago by neal_grosskopf
6 317 posted 13 years ago by blackabee
2 309 posted 13 years ago by cr4zyguy
https://www.chrisjmendez.com/2008/06/11/how-to-use-ems-when-youre-already-comfortable-with-pixels/
2 319 posted 13 years ago by chrisaiv