Welcome To Snipplr


Everyone's Recent CSS Snippets



Set different values for an element based on browser (specifically, how the browser interprets the CSS). Definitions must be in order as shown below because newer definitions override existing. The first setting will apply to all browsers. The...
3 1026 posted 16 years ago by Winkyboy
¿Por qué empeñarnos en hacer enlaces que actúen como botones? ¿Por qué no hacemos botones que parezcan enlaces?
0 662 posted 16 years ago by j_junyent
Fix probleme de transparence avec le background sous iE. Pour "crop" ou "image".
1 914 posted 16 years ago by frakim
0 588 posted 16 years ago by kristin
max/min-width & max/min-height pour IE
2 790 posted 16 years ago by dhjapan
Style quotations similar to those used on Slashdot.org.
4 772 posted 16 years ago by neal_grosskopf
A better more accessible method to make buttons appear to be disabled upon click via css (with no javascript) Doesn't work in IE but does in other browsers.
3 990 posted 16 years ago by neal_grosskopf
Change the color and background color of selected text using only css. Compatible with Firefox and Safari, but not Internet Explorer
4 1101 posted 16 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11 974 posted 16 years ago by neal_grosskopf
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2 807 posted 16 years ago by j_junyent
Si miramos al horizonte empieza a deslumbrar el futuro del CSS, con la salida de CSS3 la vida de los diseñadores web va a mejorar considerablemente y no es para menos, por que con las mejoras que se están acercando ¿quien no se aprovechará de ell...
4 827 posted 16 years ago by j_junyent
The W3C multi-column module is a CSS level-three working draft, proposed by the W3C to extend the current CSS box model. The module’s intent is to allow content to flow into multiple columns inside an element. It offers new CSS properties that let...
2 710 posted 16 years ago by j_junyent
When handing over a project to the client, you sometimes loose control over the content HTML source. Sometimes the client uses a CMS that allows them to have full control over certain parts of the HTML, and sometimes the client simply uses your templ...
2 826 posted 16 years ago by j_junyent
gmail-like table's column overflow. Efecte de truncar el text en una taula si sobrepasa
1 688 posted 16 years ago by j_junyent
3 743 posted 17 years ago by sou
1 639 posted 17 years ago by danideu
1 604 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 2932 posted 17 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2 854 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 674 posted 17 years ago by natalie
some foundation styles used in every sheet (work in progress)
1 564 posted 17 years ago by marcoba
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 1065 posted 17 years ago by 1man
3 788 posted 17 years ago by tonluong
For creating forms without using tables, just CSS.
2 1026 posted 17 years ago by andyhartleeds
give a class name to each link according to the page it redirects to. give attribute id to the body of the template and make the attribute editable (Dreamweaver lets you do that: select the attrib, Modify>Templates>Make attribute editable and tick t...
1 1188 posted 17 years ago by valcartei
displays sourcecode in a nice notebox on blog pages. uses with a class.
0 786 posted 17 years ago by zingo
4 952 posted 17 years ago by andrewbowley