Welcome To Snipplr


Everyone's Recent CSS Snippets Tagged text



1 2 Next »
Great little piece of CSS which adds a top text-shadow of 45% black and a bottom text-shadow of 75% white creating a very nice letterpress text effect.
2 134 posted 10 years ago by usman
[via rtcrm] Image/Text replacement for clickable image. This is useful for logo images.
1 85 posted 10 years ago by mennyj
0 90 posted 10 years ago by stayce
The issue appears in various places, but likely has something to do with "having layout" and is typically seen as extra whitespace between <li> elements.
0 163 posted 10 years ago by Jamie
Add background-color to headings
0 64 posted 10 years ago by Ateneae
2 86 posted 10 years ago by crs
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 136 posted 10 years ago by adamcoulombe
The "Definitive CSS Font Stacks"
6 129 posted 10 years ago by ZGX
1 76 posted 11 years ago by jfleblanc
Fairly simple, cross-browser way to rotate text using only CSS.
0 91 posted 11 years ago by Winkyboy
When we can't or won't change the code of image tag with align attribute, but no 'style="margin: 0 10px 10px 0;' or 'hspace=10px' (IMHO, hspace makes bad looking layout in most cases) code within (just pure <img> code), we can use simple CSS rules f...
1 127 posted 11 years ago by kossmoss
I did not author this code. I came across it and have found it to be useful.
2 89 posted 12 years ago by gtalmes
This handy CSS attribute can be used to keep text from wrapping. It can also be used to keep other HTML elements from wrapping. Simply apply the white-space:nowrap attribute to any HTML element to force text and images to not return within a specifie...
5 590 posted 13 years ago by jonhenshaw
0 77 posted 13 years ago by Jaymoon
1 2 Next »