I have font called MyriadPro-BoldIt, I used that on photoshop to create a text design like below.
I tried to add this style using css by adding below codes to the same font which I converted to web fonts before
-webkit-text-stroke: 1px black;
color: white;
text-shadow:3px 3px 0 #000,-1px -1px 0 #000, 1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
but it is not giving same results. Anyone knows how to create this kind of letters using css?
3
Answers
have you tried simply:
you have to tune coordonates and font-size in order to have something looking fine.
http://codepen.io/gc-nomade/pen/rnmdv/
I was able to do something like this.
See demo
Here is a demo that works well: http://jsfiddle.net/XLRbQ/
And also a tutorial CSS-Tricks: http://css-tricks.com/adding-stroke-to-web-text/