DEV Community


Discussion on: What is fallback font?

gillmangareth profile image
Gareth Gillman • Edited

A fallback font is a font which will be used if your other choices aren't usable, for example in css if we want one font we would write:

font-family: font-name;

but we can also set fallback fonts which would be:

font-family: font-1, font-2, font-3;

If Font 1 isn't available, font-2 would be used, and so on.