Welcome To Snipplr
Everyone's Recent Snippets Tagged css
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Secure, Advanced, Better, Faster... function for remove/strip tags(Anti-XSS).
2
1304
posted 16 years ago by YPY
Tutorial on how to add ajax style loading icon to large images by using CSS rather than JavaScript
10
1366
posted 16 years ago by neal_grosskopf
A series of tests to determine the best way to preload css images on elements that by default are hidden.
2
980
posted 16 years ago by neal_grosskopf
Add two containers to the element to be centered.
This is also needed for IE6:
1.
<!--[if>-->
2.
.navwrap ul{float:left;}
3.
<![endif]-->
0
784
posted 16 years ago by kanirasta
this is a combination of javascript and css and an image called letters.jpg that allows you to use any font you want for the first letter of each paragraph. Letters.jpg needs to have all the letters in uppercase in a row. See the link for a sample le...
0
722
posted 16 years ago by ezerick
setting additional css file for browsers under MacOS with JQuery
0
810
posted 16 years ago by DesTincT
CSS Rounded Corners without images
support: Firfox 2-3, Safari, Chrome, Opera 9.5(use svg)
8
1177
posted 16 years ago by Ashung
Learn how to create CSS curly quotes using only CSS and without images, extra divs or classes
6
971
posted 16 years ago by neal_grosskopf
This is basically the code given in the book "learning jQuery " by Chaffer J & Swednerg K.
5
1329
posted 16 years ago by stavelin
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
699
posted 16 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
888
posted 16 years ago by kcmr
Gracias a este artÃculo, pude colocar fondos de imagen a para las filas de una tabla.
1
1009
posted 16 years ago by demixo
This code is both basic and available from 24ways.org, but it's damn handy to reach through the snipplr plugin from textMate.
PS: all cred to Rachel Andrew & the 24ways team.
4
997
posted 16 years ago by stavelin
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
765
posted 16 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
1000
posted 16 years ago by wizard04
CSS 3 media queries test for html, table columns disappear when browser window width is changed; Fx 3.1
2
1027
posted 16 years ago by sullei