1

I use a specific font that & I wanna set A default font if the font loading is too high.

So I try:

font-display: fallback;

It looks to work well (didn't check compatibilities but it doesn't matter) but it is possible to choose the default font ?

PierreD
  • 860
  • 1
  • 14
  • 30

1 Answers1

3

The fallback font is whatever comes after the custom font:

font-family: CustomFont, Helvetica, Arial, sans-serif;

See also this article on CSS-Tricks.

P Varga
  • 19,174
  • 12
  • 70
  • 108