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 1146 posted 14 years ago by usman
[via rtcrm] Image/Text replacement for clickable image. This is useful for logo images.
1 744 posted 14 years ago by mennyj
0 667 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 1119 posted 14 years ago by Jamie
0 675 posted 14 years ago by mariusscheel
Add background-color to headings
0 598 posted 14 years ago by Ateneae
2 844 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 1063 posted 15 years ago by adamcoulombe
The "Definitive CSS Font Stacks"
6 923 posted 15 years ago by ZGX
1 592 posted 15 years ago by jfleblanc
Fairly simple, cross-browser way to rotate text using only CSS.
0 828 posted 15 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 1026 posted 15 years ago by kossmoss
I did not author this code. I came across it and have found it to be useful.
2 869 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 3489 posted 17 years ago by jonhenshaw
0 797 posted 18 years ago by Jaymoon
1 2 Next »