Search code examples
csscolorsfont-face

@font-face color?


I'm trying to put some specific font on the website using

@font-face

Everything seems allright except the color.

Is there any way to change the color of .otf font in CSS?


Solution

  • You'd declare using a selector.

    e.g.

    p {
        font-family: 'AsapRegular';
        color: #c50000;
    }