How to set two kinds of customized fonts in template?

Dear support,

I am learning chinese writing by anki. There are two customized fonts in my card.

Accroding to manual, I have copied 2 customized font in media catalog, and define CSS in my template.

But, I found “myfont” can’t be altered in CSS, so I just quoted one defined font in my card. Could you give me some advice?

@font-face {
font-family: myfont;
src: url("_jxpxk.ttf");

Thanks a lot

you can style it in any other place outside its declaration:

font-family: myfont;

@font-face {font-family: myfont; src: url(’_jxpxk.ttf’);}

1 Like