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 1177 posted 17 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 746 posted 17 years ago by j_junyent
Fix probleme de transparence avec le background sous iE. Pour "crop" ou "image".
1 1028 posted 17 years ago by frakim
0 674 posted 17 years ago by kristin
max/min-width & max/min-height pour IE
2 898 posted 17 years ago by dhjapan
Style quotations similar to those used on Slashdot.org.
4 884 posted 17 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 1111 posted 17 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 1220 posted 17 years ago by neal_grosskopf
Style external, email, and pdf links using css3 attribute selectors.
11 1103 posted 17 years ago by neal_grosskopf
Implement "Asides" in a WordOress blog just with the Sandbox theme and CSS
2 895 posted 17 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 968 posted 17 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 792 posted 17 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 930 posted 17 years ago by j_junyent
gmail-like table's column overflow. Efecte de truncar el text en una taula si sobrepasa
1 779 posted 17 years ago by j_junyent
3 850 posted 17 years ago by sou
1 743 posted 17 years ago by danideu
1 696 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 3272 posted 17 years ago by jonhenshaw
Writing expressions in CSS, used to make decisions at run-time.
2 975 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 749 posted 17 years ago by natalie
some foundation styles used in every sheet (work in progress)
1 671 posted 17 years ago by marcoba
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 1185 posted 17 years ago by 1man
3 904 posted 17 years ago by tonluong
For creating forms without using tables, just CSS.
2 1141 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 1289 posted 17 years ago by valcartei
displays sourcecode in a nice notebox on blog pages. uses with a class.
0 877 posted 17 years ago by zingo
4 1069 posted 17 years ago by andrewbowley