Archive for October, 2011

(Almost) Cross Browser Text-Stroke (Outline Text)

Monday, October 24th, 2011

Or how to fake it in most browsers

Super-short, super simple:

Using text-shadow, which is supported across most modern browsers, you can achieve the text-stroke (outlining the text) like so:

a.hover {
	text-shadow: -1px -1px 0 #990000, 
	1px -1px 0 #990000, 
	-1px 1px 0 #990000, 
	1px 1px 0 #990000; 
}

Read More →