Chrome not respecting rem font size on body tag?

前端 未结 7 865
北恋
北恋 2020-12-08 22:37

I\'ve taken to using rem\'s to size fonts in recent projects, then using px as a fallback for older versions of IE.

I\'ve also been setting a font

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-08 23:14

    This seems to be a Chrome bug; see Issue 319623: Rendering issue when using % + REMs in CSS, and/or a partly-merged duplicate: Issue 320754: font-size does not inherit if html has a font-size in percentage, and body in rem

提交回复
热议问题