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 878 posted 13 years ago by usman
[via rtcrm] Image/Text replacement for clickable image. This is useful for logo images.
1 580 posted 13 years ago by mennyj
0 521 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 929 posted 14 years ago by Jamie
0 506 posted 14 years ago by mariusscheel
Add background-color to headings
0 426 posted 14 years ago by Ateneae
2 658 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 857 posted 14 years ago by adamcoulombe
The "Definitive CSS Font Stacks"
6 752 posted 14 years ago by ZGX
1 449 posted 14 years ago by jfleblanc
Fairly simple, cross-browser way to rotate text using only CSS.
0 627 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 831 posted 14 years ago by kossmoss
I did not author this code. I came across it and have found it to be useful.
2 694 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 3192 posted 17 years ago by jonhenshaw
0 636 posted 17 years ago by Jaymoon
1 2 Next »