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 ?

TintinSansYeux
  • 758
  • 11
  • 27

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.

ᅙᄉᅙ
  • 17,132
  • 10
  • 64
  • 97