Welcome To Snipplr
Everyone's Recent CSS Snippets
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Summary
@font-face allows authors to specify online fonts to display text on their webpages. By allowing authors to provide their own fonts, @font-face eliminates the need to depend on the limited number of fonts users have installed on their comput...
3
809
posted 15 years ago by rwczippy
When I use the 960 Grid this is the code I use along with a CSS Reset. I really like Blueprint's default HTML Element styles, but I like the grid of 960.gs. This is a mashup of the code.
2
739
posted 15 years ago by smoothdzion
Reset that I use for all my projects. I've added a class '.ib' at the end to easily add inline-block styling to any element.
1
775
posted 15 years ago by smoothdzion
In IE6 and IE7 when wrapping an anchor to the next line, the first anchor with the class="anchorClass" will not display the background image nor have the clickable padded area.
In your IE6 & IE7 bugfixes CSS adding the property/value display:inlin...
0
1027
posted 15 years ago by Rogier
I needed a way to replace the default myspace headings with pictures.
It was easy enough to just superimpose jpg's over most of these with a {position:relative;} tag but the gigschedule proved a little harder as the distance between the top of th...
0
744
posted 15 years ago by thedavidmeister
This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo...
1
1064
posted 15 years ago by adamcoulombe
How to generate rounded corners in Firefox and Safari before CSS3 is fully implemented.
3
738
posted 15 years ago by ff1959