CSS: 100% font size - 100% of what?

前端 未结 9 690
梦毁少年i
梦毁少年i 2020-11-30 17:35

There are many articles and questions about percentage-sized vs other-sized fonts. However, I can not find out WHAT the reference of the percent-value is supposed to be. I u

9条回答
  •  清歌不尽
    2020-11-30 18:02

    It's relative to default browser font-size unless you override it with a value in pt or px.

提交回复
热议问题