CSS- webkit-text-stroke but stroke covers font-color

后端 未结 2 1887
终归单人心
终归单人心 2021-01-24 13:53

Please take a look at here using Chrome : http://jsfiddle.net/u8BdB/

Why the webkit-text-stroke is covering also the font color?

I would like to put

2条回答
  •  花落未央
    2021-01-24 14:30

    This is because the font is relatively small comparing to the 1px stroke.

    You can try smaller px value, like 0.3px

    Fiddle

    Also you can simulate this with text-shadow:

    Fiddle

提交回复
热议问题