Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Font fallback not happen

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #265980
    wizardnet972
    Participant

    Hi,

    I have a weird question, I set my h3 to fake font family like “bla”. In my body I have “monospace” font set.

    If the fonts are inherits, why h3 doesn’t fall to “monospace” font from the body?

    Codepen:
    https://codepen.io/shlomilevi/pen/WdBLzz

    Any ideas?

    #265981
    Shikkediel
    Participant

    I think a non-existing font-family will fall back to the default font instead of inheritance.

    #265984
    JeroenR
    Participant

    Yes I think Shikkediel is right. If you want the header to have a fallback, you should use font-family:"bla", monospace;.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design’ is closed to new topics and replies.