view raw
adnan kamili adnan kamili - 1 year ago 62
HTML Question

CSS - dashed color font

I have to show the text on webpage which looks like:

enter image description here

The font has two alternate colors. Is it even possible?

Answer

Yes, it's possible if you have proper font file that can be included in your page.

@font-face {
    font-family: myFirstFont;
    src: url(dashed_font.woff);
}