August 1, 201214 yr Please see the attache image. How do I use css to design this font. I try to use text-shadow but I can't add the correct border around the font. thanks for the help
August 1, 201214 yr You may not have much luck recreating the effect on this font using CSS alone. I'm pretty sure the text effect in the image you provided was done using a graphics program. There is in fact a CSS property for adding a stroke to text, but it currently only functions in 2 browsers, making it unreliable. Having said that, I can think of a way to accomplish this effect using two absolutely positioned divs on top of one another with a shadow effect behind one of them, but in no way would I recommend doing this Edited August 1, 201214 yr by Pete Prosper
August 1, 201214 yr You can also try taking a look at this: http://stackoverflow.com/questions/4919076/outline-effect-to-text
August 2, 201214 yr It can be done with CSS, however there is a catch.. The shadow effect for text only works with Firefox and Chrome web browsers (don't know about Safari), IE9 does not support this function yet. Demo page at Dynamic Drive Note: IE users will only see plain text
August 2, 201214 yr Author hi, textshadow works. use 4 text-shadow create an border and use the fifth one to create a shadow, text-shadow: 0 -2px #00468C, 2px 0 #00468C, 0 2px #00468C, -2px 0 #00468C, 3px 4px 7px gray; add a blur parameter at the last one. thanks, Guys
Create an account or sign in to comment