In this jsfiddle the same text is drawn twice:
- first in white, in a solid font
- then in black, in an outline font
The two fonts, Londrina Solid and Londrina Shadow, are designed to have exactly the same metrics and to be used together in this way.
Is there a way to use CSS to achieve this effect without putting two copies of the text into the HTML? (Of course, I don’t want to put a copy of the text into the CSS, either.)
Five
text-shadows is almost identical1:Here’s a demo!
1 Yes, I know this is an oxymoron.