How to get the browser's default font family in CSS?

前端 未结 1 1939
遥遥无期
遥遥无期 2021-01-13 07:52

I\'m new to CSS and maybe this question is trivial, but I have googled a little and I didn\'t find what I\'m looking for.

I have declared a font-family for all my si

相关标签:
1条回答
  • 2021-01-13 08:00

    From what I know CSS doesn't offer an option to ignore all previous user styles for a property.

    A work-around to your problem may be to use a generic font-family,

    font-family: serif;
    

    and let the browser choose.

    0 讨论(0)
提交回复
热议问题