Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
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
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
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
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
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