Text Stroke
Description
-webkit-text-stroke allows us to add shadows to our text. Chrome and Safari only.
Code Example
h1{-webkit-text-stroke:1px #f00;}
The first value controls stroke width , and the second value controls stroke colour .
Result
Text-stroke
Browser Support
| Browser | Comment |
|---|---|
| Firefox | No |
| Safari | Yes |
| Chrome | Yes |
| Opera | No |
| IE | No |
Notes
Title
details
