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 809 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 509 posted 16 years ago by j_junyent
Fix probleme de transparence avec le background sous iE. Pour "crop" ou "image".
1 732 posted 16 years ago by frakim
0 461 posted 16 years ago by kristin
max/min-width & max/min-height pour IE
2 630 posted 16 years ago by dhjapan
Style quotations similar to those used on Slashdot.org.
4 600 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 786 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 889 posted 16 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11 769 posted 16 years ago by neal_grosskopf
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2 629 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 648 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 545 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 665 posted 16 years ago by j_junyent
gmail-like table's column overflow. Efecte de truncar el text en una taula si sobrepasa
1 527 posted 16 years ago by j_junyent
3 566 posted 16 years ago by sou
1 474 posted 16 years ago by danideu
1 456 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 1900 posted 16 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2 648 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 505 posted 16 years ago by natalie
some foundation styles used in every sheet (work in progress)
1 422 posted 16 years ago by marcoba
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 821 posted 16 years ago by 1man
3 635 posted 16 years ago by tonluong
For creating forms without using tables, just CSS.
2 828 posted 16 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 975 posted 16 years ago by valcartei
displays sourcecode in a nice notebox on blog pages. uses with a class.
0 620 posted 16 years ago by zingo
4 754 posted 16 years ago by andrewbowley