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 884 posted 13 years ago by usman
[via rtcrm] Image/Text replacement for clickable image. This is useful for logo images.
1 582 posted 13 years ago by mennyj
0 522 posted 14 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 934 posted 14 years ago by Jamie
0 511 posted 14 years ago by mariusscheel
Add background-color to headings
0 431 posted 14 years ago by Ateneae
2 664 posted 14 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 861 posted 14 years ago by adamcoulombe
The "Definitive CSS Font Stacks"
6 757 posted 14 years ago by ZGX
1 453 posted 14 years ago by jfleblanc
Fairly simple, cross-browser way to rotate text using only CSS.
0 631 posted 14 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 838 posted 14 years ago by kossmoss
I did not author this code. I came across it and have found it to be useful.
2 699 posted 16 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 3198 posted 17 years ago by jonhenshaw
0 639 posted 17 years ago by Jaymoon
1 2 Next »