Showing posts with label Text-Stroke. Show all posts
Showing posts with label Text-Stroke. Show all posts

Monday, 26 December 2011

Text-Stroke

Text-Stroke

 Webkit supports it (Safari, Chrome, iPhone). In this case, with white text, Firefox will display a seemingly blank page. You can either use JavaScript feature detection to get around this, or make sure that your base text color is not the same as the body’s background.

Syntax:

 h1 {-webkit-text-stroke: 3px black; color: white ;}

Example: