Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
3 total  XML / RSS feed 

Select all font tags

Regular expression to select all font tags in a HTML document.

?(FONT|font)[^>]*>

Change OS X font smoothing in one application

E.g, Light font smoothing style in Textmate.

$ defaults write com.macromates.textmate AppleFontSmoothing -int 1

Some good body fonts

// Some fonts that could be used for body copy

font:10pt 'Trebuchet MS',Arial,sans-serif;
font:76%/140% Verdana,Geneva,Arial,Helvetica,sans-serif;
font:76%/1.5 "Lucida Grande",Geneva,Verdana,Arial,Helvetica,sans-serif;
font:12px/1.5 "Lucida Grande","Lucida Sans Unicode", sans-serif;
« Newer Snippets
Older Snippets »
3 total  XML / RSS feed