is it possible to achieve stroke and drop shadow on a font?
example.

Stroke will be available only in webkit based browsers:
Reference : http://css-tricks.com/7405-adding-stroke-to-web-text/
Adding drop shadow to the text can be achieved using the text-shadow property.
// Paul
KiwiStudio said
Stroke will be available only in webkit based browsers:Reference : http://css-tricks.com/7405-adding-stroke-to-web-text/
Adding drop shadow to the text can be achieved using the text-shadow property.
// Paul
thanks 
You’re welcome, Sir!
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
{
text-shadow:
-1px -1px 0 #FFF,
1px -1px 0 #FFF,
-1px 1px 0 #FFF,
1px 1px 0 #FFF,
0px 0px 4px #000;
}
First 4 are the stroke and the last is the shadow.
( did not test this out but it should work )Problem is, you don’t have control over the text-shadow thickness (stroke). You only control the blur, so that leaves you with a lot of shadows…
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
digitalimpact said
Problem is, you don’t have control over the text-shadow thickness (stroke). You only control the blur, so that leaves you with a lot of shadows…
Blur 0 and move one pixel on both x and y axis results in one px stroke.
EDIT and if you need it to be more thick just move it more than one pixel. Move it n pixels on both axis and all 4 directional combinations.
will give it a try.
- Attended a Community Meetup
- Author had a Free File of the Month
- Author was Featured
- Blog Editor
- Bought between 50 and 99 items
- Contributed a Tutorial to a Tuts+ Site
- Envato Staff
- Exclusive Author
- Featured in a Magazine
Yeah, I’d either use webkit-stroke, or multiple text-shadows.
- Author had a File in an Envato Bundle
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 2-3 years
- Item was Featured
- Referred between 100 and 199 users
JeffreyWay said
Yeah, I’d either use webkit-stroke, or multiple text-shadows.
As i said, because webkit is not the engine for all browsers, go for text shadows.